Jared Wasinger
|
8ea9929a30
|
accounts/abi/bind: fix some ugliness in the generated binding code which deals with pointer types
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
3d974b22e2
|
accounts/abi/bind/v2/internal/contracts: update bindings
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
41a0cfff69
|
accounts/abi/bind: deduplicate logic to normalize struct elements, event/error/method arguments/results. fix for case where normalization of name '_' would return an empty string
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
0b09319eb7
|
accounts/abi/bind/v2/internal/contracts: regenerate bindings (they were mistakenly generated with a broken iteration of the code, and empty/broken bindings were included)
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
0953522e86
|
accounts/abi/bind: remove duplicate convertedv1bindtests
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
fe2827e9d3
|
accounts/abi/bind/v2: fix lib_test.go (update test to reflect that bindings changed s.t. constructor unpack does not return error)
|
2025-01-22 13:54:58 +01:00 |
|
Jared Wasinger
|
e50bfdd053
|
remove error return from generated pack method for constructors. add the results of feeding v1 binding test ABIs through the v2 generator.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
708dc59223
|
copy DeploymentParams overrides before creating tree deployer (prevent the backing-array provided by the API user from being mutated). re-enable deployment-with-overrides test
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
f4acb0ce04
|
remove capitalize helper method. simplify call/event/error symbol name registration
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
ddc897e52c
|
simplify vars naming in normalizeArgs
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
ec0b3e52fe
|
fix events/error args normalization capitalization. add unit test that fails before the fix, and also also a few more test cases for args normalization.
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
6a007cac18
|
wip
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
5eb7271f0b
|
accounts/abi/bind: remove unused fields from template structs
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
6afe90dddd
|
accounts/abi/bind: don't define link test case table as a package-private variable
|
2025-01-22 13:54:57 +01:00 |
|
Jared Wasinger
|
7f301229bf
|
accounts/abi/bind: make link test case failure output the index of the subtest that failed.
|
2025-01-22 13:54:57 +01:00 |
|
Martin Holst Swende
|
b4f1a3c009
|
clarifications
|
2025-01-22 13:54:57 +01:00 |
|
Martin Holst Swende
|
3436fb984e
|
accounts/abi/bind: simplifications
|
2025-01-22 13:54:57 +01:00 |
|
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 |
|