Skip to content

Commit

Permalink
perform static calls before each call to get better error messages (#4)
Browse files Browse the repository at this point in the history
* perform static calls before each call to get better error messages

- added solidity as submodule
- updated generated code

* add upgradeable contract deployments in tests to fix failing unit tests

* update git workflow

* update git workflow

* update git workflow

* fix sh: 1: pushd: not found error in git build workflow

* install foundry in git workflow

---------

Co-authored-by: Nemitari Ajienka <nemitariajienka@gmail.com>
  • Loading branch information
CluEleSsUK and najienka authored Feb 14, 2025
1 parent d13ba14 commit f700fe0
Show file tree
Hide file tree
Showing 197 changed files with 63,975 additions and 30,477 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,22 @@ jobs:
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v4"
with:
submodules: recursive

- name: Install nodejs 🔧
uses: "actions/setup-node@v3"
with:
node-version: 22.3.0

- name: Install dependencies
run: yarn install

- name: Test
run: yarn test
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install dependencies
run: npm install

- name: Build
run: yarn build
run: npm run build

- name: Test
run: npm run test
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "contracts/lib/forge-std"]
path = contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "contracts/lib/openzeppelin-contracts"]
path = contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "blocklock-solidity"]
path = blocklock-solidity
url = https://github.com/randa-mu/blocklock-solidity
1 change: 1 addition & 0 deletions blocklock-solidity
Submodule blocklock-solidity added at 6e369a
14 changes: 0 additions & 14 deletions contracts/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions contracts/foundry.toml

This file was deleted.

1 change: 0 additions & 1 deletion contracts/lib/forge-std/.gitattributes

This file was deleted.

128 changes: 0 additions & 128 deletions contracts/lib/forge-std/.github/workflows/ci.yml

This file was deleted.

31 changes: 0 additions & 31 deletions contracts/lib/forge-std/.github/workflows/sync.yml

This file was deleted.

4 changes: 0 additions & 4 deletions contracts/lib/forge-std/.gitignore

This file was deleted.

Loading

0 comments on commit f700fe0

Please sign in to comment.