evm: estimate gas unit tests (#324)
* add some unit tests for estimateGas Also add some test environment setup, Closes #323 test estimateGas of erc20 token transfer fix failed test case the trick is to keep a clean transient store, by doing a commit put artifacts to external file * fix test failure Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Federico Kunze Küllmer
parent
e61594e10a
commit
f6dc80d949
@@ -15,7 +15,7 @@ jobs:
|
||||
# - uses: actions/checkout@v2.3.4
|
||||
# - uses: actions/setup-go@v2.1.3
|
||||
# with:
|
||||
# go-version: 1.15
|
||||
# go-version: 1.16
|
||||
# - uses: technote-space/get-diff-action@v4.2
|
||||
# id: git_diff
|
||||
# with:
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: 1.15
|
||||
go-version: 1.16
|
||||
- uses: technote-space/get-diff-action@v4.2
|
||||
id: git_diff
|
||||
with:
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: 1.15
|
||||
go-version: 1.16
|
||||
- uses: technote-space/get-diff-action@v4.2
|
||||
id: git_diff
|
||||
with:
|
||||
@@ -140,7 +140,7 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: 1.15
|
||||
go-version: 1.16
|
||||
- uses: technote-space/get-diff-action@v4.2
|
||||
id: git_diff
|
||||
with:
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: 1.15
|
||||
go-version: 1.16
|
||||
- uses: technote-space/get-diff-action@v4.2
|
||||
id: git_diff
|
||||
with:
|
||||
@@ -218,7 +218,7 @@ jobs:
|
||||
# - uses: actions/checkout@v2.3.4
|
||||
# - uses: actions/setup-go@v2.1.3
|
||||
# with:
|
||||
# go-version: 1.15
|
||||
# go-version: 1.16
|
||||
# - uses: technote-space/get-diff-action@v4.2
|
||||
# id: git_diff
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user