This repository was archived by the owner on Dec 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 277
test: use generated ABI #1912
Closed
Closed
test: use generated ABI #1912
Changes from all commits
Commits
Show all changes
133 commits
Select commit
Hold shift + click to select a range
e7a0cc1
feat: convert tx allow list npm test to go test
JonathanOppenheimer 060eb2b
Merge branch 'master' into JonathanOppenheimer/convert-tx-allow-list-…
JonathanOppenheimer 169f6f3
chore: delete old example
JonathanOppenheimer 60110f8
feat: convert reward manager npm test to go test
JonathanOppenheimer b057b88
fix: contract formatting and import
JonathanOppenheimer a98b243
chore: delete old binding
JonathanOppenheimer fb29afb
chore: delete example contract
JonathanOppenheimer 4eef5e6
chore: lint
JonathanOppenheimer bb21931
test: add should not let non-enabled address submit txs
JonathanOppenheimer 8cfb75b
Merge branch 'master' into JonathanOppenheimer/convert-tx-allow-list-…
JonathanOppenheimer 1e0d2fe
style: ignore lint error for now
JonathanOppenheimer 1069395
test: add helper function for backend
JonathanOppenheimer 7a12f05
Merge branch 'master' into JonathanOppenheimer/convert-tx-allow-list-…
JonathanOppenheimer f519ccc
chore: lint
JonathanOppenheimer de4726e
Merge branch 'master' into JonathanOppenheimer/convert-tx-allow-list-…
JonathanOppenheimer a8d7ebd
Merge branch 'master' into JonathanOppenheimer/convert-reward-manager…
JonathanOppenheimer ab29c98
Merge branch 'master' into JonathanOppenheimer/convert-reward-manager…
JonathanOppenheimer 43ade2c
Merge branch 'master' into JonathanOppenheimer/convert-tx-allow-list-…
JonathanOppenheimer 78fd11d
Merge branch 'JonathanOppenheimer/convert-tx-allow-list-test' into Jo…
JonathanOppenheimer df3d4d1
chore: delete more deprecated code
JonathanOppenheimer 5e77010
test: use new structure
JonathanOppenheimer a135782
chore: delete vestigial CI
JonathanOppenheimer a7ea83e
chore: unused file
JonathanOppenheimer 997ce0f
test: restore task.ts
JonathanOppenheimer c82ccd7
fix: restore run_ginkgo.sh
JonathanOppenheimer 8540c62
chore: regenerate bindings
JonathanOppenheimer 63d4aaa
chore: reduce diff
JonathanOppenheimer 37a9e0d
chore: format
JonathanOppenheimer 284c1fc
chore: regenerate bindings
JonathanOppenheimer 3abde93
Merge branch 'master' into JonathanOppenheimer/convert-reward-manager…
JonathanOppenheimer 748ca1c
Update IAllowList.sol
JonathanOppenheimer d7f590e
docs: add comment explaining import replace
JonathanOppenheimer 72d5ebe
chore: regenerate bindings
JonathanOppenheimer 0804768
test: convert warp hardhat test to go
JonathanOppenheimer 0d47b83
feat: completely deprecate npm
JonathanOppenheimer 6877bd8
reduce diff with master
ceyonur 650bd1d
further reduce diffs
ceyonur ddc92e7
further reduce diffs
ceyonur a024dc6
fix linter
ceyonur 9afb94c
fix
ceyonur 8d6af33
style: move tx function
JonathanOppenheimer aafb6db
test: use random key for reward address test
JonathanOppenheimer 07ab33f
test: through contract rather than interface
JonathanOppenheimer 5ea2a0d
revert extra change
ceyonur 8f146c6
test: add coinbase test
JonathanOppenheimer 755449b
Ceyonur/reduce diff reward manager tests (#1909)
JonathanOppenheimer 9ec5e25
Merge branch 'JonathanOppenheimer/convert-reward-manager-test' into J…
JonathanOppenheimer 31edb02
feat: warp bindings test
JonathanOppenheimer f9deda0
chore: revert util.ts deletion
JonathanOppenheimer 15729af
chore: move util.ts
JonathanOppenheimer e5631aa
chore: rename util -> utils
JonathanOppenheimer 36eca4a
fix: export only roles
JonathanOppenheimer 282f862
fix: verifyAndExtractWarpMessage()
JonathanOppenheimer 8725814
chore: lint
JonathanOppenheimer 48b1d69
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer 8702753
Update precompile/contracts/testutils/simulated_helpers.go
JonathanOppenheimer 8859053
fix: don't export sendSimpleTx
JonathanOppenheimer 9177c3a
chore: consolidate NewBackendWithPrecompile
JonathanOppenheimer b2fbe9e
chore: lint
JonathanOppenheimer 2b736d7
chore: delete full contracts folder
JonathanOppenheimer 51fce58
chore: delete deprecated testing files
JonathanOppenheimer 64c71f8
chore: delete warp.json
JonathanOppenheimer 27fc37c
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer ef7c953
Merge branch 'JonathanOppenheimer/convert-reward-manager-test' into J…
JonathanOppenheimer 13d9d17
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer 97e182c
fix: revert delete warp.json
JonathanOppenheimer e19a5aa
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer eb78d3f
chore: move warp genesis to usage
JonathanOppenheimer 4441a65
style: align genesis location
JonathanOppenheimer bdc7cf8
fix: genesis path
JonathanOppenheimer e85cc03
Merge branch 'master' into JonathanOppenheimer/convert-warp-test
JonathanOppenheimer a8e82e8
test: minify + rename allowlist abi
JonathanOppenheimer b6ed503
test: use generated ABI
JonathanOppenheimer 0e00bf5
fix: use proper path
JonathanOppenheimer 5ee8bb0
chore: delete Example.abi
JonathanOppenheimer a397075
update gitignore
JonathanOppenheimer 59c5dfc
ci: remove compiled artifacts
JonathanOppenheimer b001c94
ci: remove all .abi/bin
JonathanOppenheimer 473405a
test: move interfaces to top level
JonathanOppenheimer 34023f3
chore: git track move
JonathanOppenheimer da2ebdb
test: use generated ABI
JonathanOppenheimer 676a49f
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 607a237
chore: regenerate bindings
JonathanOppenheimer 9538ca4
chore: delete stale abi files
JonathanOppenheimer 6031f25
style: rename bindings test
JonathanOppenheimer e0c9b79
test: full warp bindings test
JonathanOppenheimer bf3ad0f
test: extract using bindings
JonathanOppenheimer 66ae1e8
style: set addressedCallUnsignedMessage directly
JonathanOppenheimer 2b2e3ff
chore: lint
JonathanOppenheimer ad6f6b9
chore: reduce diff
JonathanOppenheimer b11a074
style: add back blank line
JonathanOppenheimer 9468c09
feat: completely deprecate npm
JonathanOppenheimer 53ff7da
chore: delete full contracts folder
JonathanOppenheimer ab07d3e
chore: delete deprecated testing files
JonathanOppenheimer 898fff2
chore: move warp genesis to usage
JonathanOppenheimer 5e3e63d
style: align genesis location
JonathanOppenheimer d4694ff
fix: genesis path
JonathanOppenheimer fda573d
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 114142d
chore: lint
JonathanOppenheimer 9701be7
Merge branch 'JonathanOppenheimer/move-interfaces' into JonathanOppen…
JonathanOppenheimer 2d785fa
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer 6671da0
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 2bcea5c
fix: interface abis at top level
JonathanOppenheimer 0ee8168
fix: restore artifacts git ignore
JonathanOppenheimer 14bc30f
fix: abi paths
JonathanOppenheimer d2c7704
chore: move ExampleWarp.sol to where it is used
JonathanOppenheimer f8af497
style: restore blank line
JonathanOppenheimer 482b45d
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer fb7f77d
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 86ce37b
test: reuse verifyAndExtractWarpMessage helper
JonathanOppenheimer c2e0eb7
test: specify sender
JonathanOppenheimer 440840f
Merge branch 'master' into JonathanOppenheimer/convert-warp-test
JonathanOppenheimer 5e78e94
Update tests/warp/warp_test.go
JonathanOppenheimer 9016376
Update tests/warp/warp_test.go
JonathanOppenheimer dfec9d9
Update tests/warp/warp_test.go
JonathanOppenheimer e16d112
docs: expand verifyAndExtractWarpMessage function comment
JonathanOppenheimer e0f9532
Update tests/warp/warp_test.go
JonathanOppenheimer 12d27a8
chore: regenerate bindings
JonathanOppenheimer 9fa4f35
Merge branch 'JonathanOppenheimer/convert-warp-test' into JonathanOpp…
JonathanOppenheimer ef4dbc6
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 19abb06
Initial reduce diff
michaelkaplan13 4e82150
Omit metadata hashes from compiled test bytecode
michaelkaplan13 8b19958
Reduce diff
michaelkaplan13 82b6857
Fix ABI file name
michaelkaplan13 e9a4030
Reduce ABI Gen diff (#1916)
JonathanOppenheimer afa88cc
Merge remote-tracking branch 'origin' into JonathanOppenheimer/delete…
JonathanOppenheimer a8c7ebc
style: revert genesis.json move
JonathanOppenheimer 81bb10c
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer 298383a
fix: restore genesis paths
JonathanOppenheimer fdd152f
Merge branch 'JonathanOppenheimer/delete-npm' into JonathanOppenheime…
JonathanOppenheimer d3c1733
chore: generate bindings
JonathanOppenheimer 5acbfe9
Merge branch 'master' into JonathanOppenheimer/use-new-abi
JonathanOppenheimer d00723d
Merge branch 'master' into JonathanOppenheimer/use-new-abi
JonathanOppenheimer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| **/artifacts/ | ||
| **/artifacts/*.abi | ||
| **/artifacts/*.bin | ||
|
|
||
| # IAllowList.abi gets generated as a side effect when compiling interfaces that inherit from it | ||
| contracts/*/IAllowList.abi | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -101,4 +101,4 @@ | |
| "stateMutability": "nonpayable", | ||
| "type": "function" | ||
| } | ||
| ] | ||
| ] | ||
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
precompile/allowlist/allowlisttest/bindings/gen_allowlisttest_binding.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you want to commit this?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah -- we do commit the top level
IAllowList.abihere, but there's no need to commit the additionally generatedIAllowListsfrom precompiles that depend on it (in the contracts folder). There's unfortunately not a smarter compiler directive to use an existing abi or anything, but I did look.would be generated, and there's no need for these to be committed.