Jared Wasinger
|
47192a758c
|
change semantics of contract overrides again: any direct/indirect dependencies of contracts/libraries specified with override addresses should not be deployed if they are not elsewhere referenced as direct/indirect deps of non-override contracts.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
736d587990
|
full support for errors with working test
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
9552b30263
|
wip (just committing so that I can rebase off master to use ethclient.RevertErrorData)
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
9a59bdb239
|
generation of custom error unpacking builds (not tested yet)
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
e7e1426d89
|
remove debug prints. fix contract linking test condition
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
c293caade9
|
tests working now
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
5cc853d807
|
fix linking tests
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
60fc16dea8
|
rewrite contract link/deploy again
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
e4c01633a4
|
make link test case input be its own struct
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
f9186b712e
|
one more test
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
463c3b6dd4
|
fix test cases
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
81289d7e26
|
wip: update
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
4821fbae99
|
add test cases for contract linking that I forgot to push earlier. Fix deployment logic (apparently modifying a map in-place during iteration is not safe????
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
44420cbb36
|
basic linking test working
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
b06406a8b2
|
wip
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
c8b17ca9c4
|
staging changes for linking tests. rework LinkAndDeploy to decouple logic of contract deployment, by passing a callback that does it.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
ba68e747b5
|
mv test contracts to internal directory under v2
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
4872d7fde5
|
remove unecessary abi parameter from WatchEvents. simplify event tests
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
b50593e702
|
add db example from sina
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
a0485167d5
|
add generic call/transact
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
28d57002ff
|
add generic log watching/filtering. skip adding generic call/transact (issue with interface regarding contract methods that don't take arguments)
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
69e6f2932d
|
add binding generation test
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
57e13591cc
|
small cleanups
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
2df68eb106
|
remove unused error test, other unused code in tests
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
6b5967afd8
|
delete unused test data. remove useless v2 helper methods. update tests
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
d3d6926683
|
fix contract filter test. rename *Logs methods to *Events, to reflect the fact that these are specific to solidity events.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
1f25c68ec4
|
add error unpacking. simplify WatchLogs api.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
4fc62e94b3
|
add errors to emitted code.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
f2d78fcfaf
|
return multiple results in exported struct (instead of anonymous one). add return_structs contract example to have an example of it.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
51207183cd
|
add coverage for event filtering
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
cd18d99180
|
add test coverage for events watching
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
1e8aca95e9
|
add test for overrides
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
77158e5bf0
|
various small fixes: better error message, remove unecessary comments. address review about missing word in function documentation.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
d0a8ead758
|
add copyright notices. move v2 template to its own file. Rename V2Backend->BackendV2
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
26641a190a
|
make tests run again
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
afe887fcc3
|
remove old half-written test case with events (I will add it back in when I complete it).
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
b612cab7f1
|
simplify generated code for list of library dependencies
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
0bdf69cbc6
|
some more docs
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
0cff488b04
|
fix v2 test
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
ab97d38da5
|
more docs. fix nested library contract. fix associated test case.
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
b2aec5af41
|
add missing files from testdata. refactor contract deployment API to be cleaner
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
03a6ade16b
|
format improvements
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
41b77f9d9c
|
update library test contract to have constructor with inputs. remove some debug print statements
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
42d159fb9a
|
fix contract
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
7c95aa1411
|
closer to test passing now...
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
5ba939f50c
|
rework contract deployment API
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
cc04aa4e9e
|
commit of wip-code: rework the contract deployment code to be cleaner
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
6d9104e706
|
dependency graph calculation working
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
26491ae5cd
|
still in a wip state
|
2025-01-22 13:54:57 +01:00 |
Jared Wasinger
|
61263dcd68
|
stage point before I try to dedup contract interaction api
|
2025-01-22 13:54:57 +01:00 |