-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from lsd-ucsc/solc-ver-0_8_20-n-bugfixes
- Updated compiler to `solc` v0.8.20, g++, linux version - Fixed the bug that `EventManager.notifySubscribers()` call will fail when there's no subscribers - Added gas cost evaluation on the `register` operation
- Loading branch information
Showing
15 changed files
with
479 additions
and
1,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,24 @@ on: | |
|
||
jobs: | ||
run_sol_contracts_job: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-22.04 ] | ||
solc-version: [ 0.8.20 ] | ||
chain-fork: [ shanghai ] | ||
opt-runs: [ 200 ] | ||
|
||
name: A job to run solidity unit tests on github actions CI | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run Solidity Unit Testing Action | ||
uses: EthereumRemix/[email protected] | ||
with: | ||
test-path: 'tests/PubSub' | ||
compiler-version: '0.8.19' | ||
compiler-version: ${{ matrix.solc-version }} | ||
optimize: true | ||
optimizer-runs: 200 | ||
optimizer-runs: ${{ matrix.opt-runs }} | ||
hard-fork: ${{ matrix.chain-fork }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "utils/PyEthHelper"] | ||
path = utils/PyEthHelper | ||
url = https://github.com/lsd-ucsc/PyEthHelper.git | ||
branch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.