Jared Wasinger
|
2949b1a11d
|
embed direct library relations in metadata in bindings. simplify dependency tree handling as a result of embedding it in the bindings.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
eb10c47793
|
wip: embed library relations in metadata
|
2025-01-22 13:54:57 +01:00 |
|
jwasinger
|
c89c24ce37
|
Update accounts/abi/bind/dep_tree.go
Co-authored-by: Martin HS <martin@swende.se>
|
2025-01-22 13:54:57 +01:00 |
|
jwasinger
|
de00bb3a29
|
Update accounts/abi/bind/dep_tree.go
Co-authored-by: Martin HS <martin@swende.se>
|
2025-01-22 13:54:57 +01:00 |
|
jwasinger
|
4f7949f85f
|
Update accounts/abi/bind/dep_tree.go
Co-authored-by: Martin HS <martin@swende.se>
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
915c7e83c9
|
fix comment for bindError method
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
f90a88e85a
|
make DeploymentParams fields private. instantiate it with a constructor method
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
484c723a0c
|
move BindV2 and methods it depends on into their own file.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
26d0d787dc
|
add docs
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
adc4ab6e79
|
remove unecessarily-added method
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
b1f3970c57
|
tests pass
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
b6d6ba92de
|
refactor builds
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
5da8d5a086
|
wip...
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
bbddf0d0be
|
remove field that I added to abi.Error and never used
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
02ff41a738
|
add comment for tmplError struct and remove unused v2 backend interface
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
2c9c9cf4bd
|
regenerate bindings
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
fce1885317
|
remove TODO comment about adding a test case that I have added
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
d93a152298
|
update dep tree
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
3129593b3f
|
export event names in bindings. remove added APIs Filter/Watch-Logs which take event ids.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
89fcfac1cf
|
move abigen2 specific bind code into BindV2. fix broken v1 tests
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
780dd76746
|
add some docs
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
2421cc3ed5
|
move contract dep tree, link-and-deploy to bind package. This is so that bind can build the dependency tree for each library to populate their exported deps.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
7000583654
|
fix regex for solc pattern matching
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
709ff38bc1
|
gofmt files. add a TODO comment and remove another useless comment
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
645c844f4b
|
clean up link/deploy code. add docs
|
2025-01-22 13:54:57 +01:00 |
|
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 |
|