Commit graph

  • bcc305dc20 remove unused comment. add method description for RawCreationTransact Jared Wasinger 2025-01-07 15:59:16 +0700
  • 1dd531a2ba misc template additions I forgot to include in previous commits. introduce 'RawDeploymentTransact' method Jared Wasinger 2025-01-07 14:55:02 +0700
  • f70344216e accounts/abi/bind: simplify bindv2: create constructors for contractBinder, tmplContractV2. move some sanitization of values loaded from ABI definition into tmplContractV2 constructor Jared Wasinger 2025-01-06 21:12:42 +0700
  • b896ed2966 accounts/abi/bind, accounts/abi/bind/v2: move DeployContractRaw into v2 package Jared Wasinger 2025-01-06 20:23:37 +0700
  • 9b453b04fe better naming for instance of self-struct in member methods of structs in generated bindings Jared Wasinger 2025-01-06 20:14:53 +0700
  • a934729c2d remove useless todo in v2 template Jared Wasinger 2025-01-06 19:54:19 +0700
  • 64c13eb2b9 update converted v1 bind test cases. rename test case that checks converted-v1 bindings in v2 to something more sensible Jared Wasinger 2025-01-06 18:55:28 +0700
  • 8ea9929a30 accounts/abi/bind: fix some ugliness in the generated binding code which deals with pointer types Jared Wasinger 2025-01-06 18:45:46 +0700
  • 3d974b22e2 accounts/abi/bind/v2/internal/contracts: update bindings Jared Wasinger 2025-01-06 16:34:34 +0700
  • 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 Jared Wasinger 2025-01-06 15:53:25 +0700
  • 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) Jared Wasinger 2024-12-30 16:12:13 +0700
  • 0953522e86 accounts/abi/bind: remove duplicate convertedv1bindtests Jared Wasinger 2024-12-30 15:59:53 +0700
  • fe2827e9d3 accounts/abi/bind/v2: fix lib_test.go (update test to reflect that bindings changed s.t. constructor unpack does not return error) Jared Wasinger 2024-12-30 15:59:22 +0700
  • e50bfdd053 remove error return from generated pack method for constructors. add the results of feeding v1 binding test ABIs through the v2 generator. Jared Wasinger 2024-12-23 20:44:36 +0700
  • 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 Jared Wasinger 2024-12-23 17:23:25 +0700
  • f4acb0ce04 remove capitalize helper method. simplify call/event/error symbol name registration Jared Wasinger 2024-12-23 16:02:05 +0700
  • ddc897e52c simplify vars naming in normalizeArgs Jared Wasinger 2024-12-23 15:43:54 +0700
  • 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. Jared Wasinger 2024-12-23 15:36:42 +0700
  • 6a007cac18 wip Jared Wasinger 2024-12-20 17:57:36 +0700
  • 5eb7271f0b accounts/abi/bind: remove unused fields from template structs Jared Wasinger 2024-12-19 19:42:37 +0700
  • 6afe90dddd accounts/abi/bind: don't define link test case table as a package-private variable Jared Wasinger 2024-12-19 17:05:47 +0700
  • 7f301229bf accounts/abi/bind: make link test case failure output the index of the subtest that failed. Jared Wasinger 2024-12-19 17:00:13 +0700
  • b4f1a3c009 clarifications Martin Holst Swende 2024-12-19 10:04:44 +0100
  • 3436fb984e accounts/abi/bind: simplifications Martin Holst Swende 2024-12-19 09:22:12 +0100
  • 2949b1a11d embed direct library relations in metadata in bindings. simplify dependency tree handling as a result of embedding it in the bindings. Jared Wasinger 2024-12-19 13:29:01 +0700
  • eb10c47793 wip: embed library relations in metadata Jared Wasinger 2024-12-18 21:07:24 +0700
  • c89c24ce37 Update accounts/abi/bind/dep_tree.go jwasinger 2024-12-18 16:28:43 +0700
  • de00bb3a29 Update accounts/abi/bind/dep_tree.go jwasinger 2024-12-18 16:27:05 +0700
  • 4f7949f85f Update accounts/abi/bind/dep_tree.go jwasinger 2024-12-18 16:26:48 +0700
  • 915c7e83c9 fix comment for bindError method Jared Wasinger 2024-12-18 16:24:09 +0700
  • f90a88e85a make DeploymentParams fields private. instantiate it with a constructor method Jared Wasinger 2024-12-18 16:21:59 +0700
  • 484c723a0c move BindV2 and methods it depends on into their own file. Jared Wasinger 2024-12-18 16:01:08 +0700
  • 26d0d787dc add docs Jared Wasinger 2024-12-18 15:00:01 +0700
  • adc4ab6e79 remove unecessarily-added method Jared Wasinger 2024-12-18 14:42:54 +0700
  • b1f3970c57 tests pass Jared Wasinger 2024-12-18 14:06:33 +0700
  • b6d6ba92de refactor builds Jared Wasinger 2024-12-17 19:57:03 +0700
  • 5da8d5a086 wip... Jared Wasinger 2024-12-17 17:25:47 +0700
  • bbddf0d0be remove field that I added to abi.Error and never used Jared Wasinger 2024-12-16 15:50:26 +0700
  • 02ff41a738 add comment for tmplError struct and remove unused v2 backend interface Jared Wasinger 2024-12-16 15:35:49 +0700
  • 2c9c9cf4bd regenerate bindings Jared Wasinger 2024-12-16 15:21:06 +0700
  • fce1885317 remove TODO comment about adding a test case that I have added Jared Wasinger 2024-12-16 15:07:54 +0700
  • d93a152298 update dep tree Jared Wasinger 2024-12-16 15:06:32 +0700
  • 3129593b3f export event names in bindings. remove added APIs Filter/Watch-Logs which take event ids. Jared Wasinger 2024-12-16 14:08:46 +0700
  • 89fcfac1cf move abigen2 specific bind code into BindV2. fix broken v1 tests Jared Wasinger 2024-12-16 13:28:19 +0700
  • 780dd76746 add some docs Jared Wasinger 2024-12-15 20:59:55 +0700
  • 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. Jared Wasinger 2024-12-15 17:35:25 +0700
  • 7000583654 fix regex for solc pattern matching Jared Wasinger 2024-12-13 19:55:13 +0700
  • 709ff38bc1 gofmt files. add a TODO comment and remove another useless comment Jared Wasinger 2024-12-13 19:44:01 +0700
  • 645c844f4b clean up link/deploy code. add docs Jared Wasinger 2024-12-13 17:54:07 +0700
  • 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. Jared Wasinger 2024-12-13 15:39:44 +0700
  • 736d587990 full support for errors with working test Jared Wasinger 2024-12-12 22:06:39 +0700
  • 9552b30263 wip (just committing so that I can rebase off master to use ethclient.RevertErrorData) Jared Wasinger 2024-12-12 15:20:16 +0700
  • 9a59bdb239 generation of custom error unpacking builds (not tested yet) Jared Wasinger 2024-12-12 13:28:03 +0700
  • e7e1426d89 remove debug prints. fix contract linking test condition Jared Wasinger 2024-12-10 16:07:05 +0700
  • c293caade9 tests working now Jared Wasinger 2024-12-10 15:57:36 +0700
  • 5cc853d807 fix linking tests Jared Wasinger 2024-12-10 14:01:58 +0700
  • 60fc16dea8 rewrite contract link/deploy again Jared Wasinger 2024-12-10 12:23:23 +0700
  • e4c01633a4 make link test case input be its own struct Jared Wasinger 2024-12-09 14:52:39 +0700
  • f9186b712e one more test Jared Wasinger 2024-12-09 13:59:41 +0700
  • 463c3b6dd4 fix test cases Jared Wasinger 2024-12-09 13:56:53 +0700
  • 81289d7e26 wip: update Jared Wasinger 2024-12-06 20:45:49 +0700
  • 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???? Jared Wasinger 2024-12-06 14:56:43 +0700
  • 44420cbb36 basic linking test working Jared Wasinger 2024-12-06 14:03:01 +0700
  • b06406a8b2 wip Jared Wasinger 2024-12-06 13:17:58 +0700
  • c8b17ca9c4 staging changes for linking tests. rework LinkAndDeploy to decouple logic of contract deployment, by passing a callback that does it. Jared Wasinger 2024-12-05 17:32:24 +0700
  • ba68e747b5 mv test contracts to internal directory under v2 Jared Wasinger 2024-12-03 16:04:05 +0700
  • 4872d7fde5 remove unecessary abi parameter from WatchEvents. simplify event tests Jared Wasinger 2024-12-03 15:18:24 +0700
  • b50593e702 add db example from sina Jared Wasinger 2024-12-03 15:04:25 +0700
  • a0485167d5 add generic call/transact Jared Wasinger 2024-12-03 13:49:24 +0700
  • 28d57002ff add generic log watching/filtering. skip adding generic call/transact (issue with interface regarding contract methods that don't take arguments) Jared Wasinger 2024-12-03 13:25:46 +0700
  • 69e6f2932d add binding generation test Jared Wasinger 2024-12-02 20:27:05 +0700
  • 57e13591cc small cleanups Jared Wasinger 2024-12-02 14:58:05 +0700
  • 2df68eb106 remove unused error test, other unused code in tests Jared Wasinger 2024-12-02 14:47:02 +0700
  • 6b5967afd8 delete unused test data. remove useless v2 helper methods. update tests Jared Wasinger 2024-12-02 14:43:32 +0700
  • d3d6926683 fix contract filter test. rename *Logs methods to *Events, to reflect the fact that these are specific to solidity events. Jared Wasinger 2024-12-02 12:57:09 +0700
  • 1f25c68ec4 add error unpacking. simplify WatchLogs api. Jared Wasinger 2024-12-02 11:51:45 +0700
  • 4fc62e94b3 add errors to emitted code. Jared Wasinger 2024-11-28 18:59:12 +0700
  • f2d78fcfaf return multiple results in exported struct (instead of anonymous one). add return_structs contract example to have an example of it. Jared Wasinger 2024-11-28 15:40:30 +0700
  • 51207183cd add coverage for event filtering Jared Wasinger 2024-11-27 23:10:15 +0700
  • cd18d99180 add test coverage for events watching Jared Wasinger 2024-11-27 21:17:13 +0700
  • 1e8aca95e9 add test for overrides Jared Wasinger 2024-11-27 14:20:17 +0700
  • 77158e5bf0 various small fixes: better error message, remove unecessary comments. address review about missing word in function documentation. Jared Wasinger 2024-11-26 19:31:58 +0700
  • d0a8ead758 add copyright notices. move v2 template to its own file. Rename V2Backend->BackendV2 Jared Wasinger 2024-11-26 19:14:19 +0700
  • 26641a190a make tests run again Jared Wasinger 2024-11-26 18:17:01 +0700
  • afe887fcc3 remove old half-written test case with events (I will add it back in when I complete it). Jared Wasinger 2024-11-26 17:51:29 +0700
  • b612cab7f1 simplify generated code for list of library dependencies Jared Wasinger 2024-11-26 17:41:18 +0700
  • 0bdf69cbc6 some more docs Jared Wasinger 2024-11-26 17:32:46 +0700
  • 0cff488b04 fix v2 test Jared Wasinger 2024-11-26 17:22:28 +0700
  • ab97d38da5 more docs. fix nested library contract. fix associated test case. Jared Wasinger 2024-11-26 17:18:20 +0700
  • b2aec5af41 add missing files from testdata. refactor contract deployment API to be cleaner Jared Wasinger 2024-11-26 15:54:18 +0700
  • 03a6ade16b format improvements Jared Wasinger 2024-11-25 14:36:22 +0700
  • 41b77f9d9c update library test contract to have constructor with inputs. remove some debug print statements Jared Wasinger 2024-11-25 14:30:29 +0700
  • 42d159fb9a fix contract Jared Wasinger 2024-11-24 22:32:11 +0700
  • 7c95aa1411 closer to test passing now... Jared Wasinger 2024-11-24 21:53:31 +0700
  • 5ba939f50c rework contract deployment API Jared Wasinger 2024-11-24 21:00:26 +0700
  • cc04aa4e9e commit of wip-code: rework the contract deployment code to be cleaner Jared Wasinger 2024-11-24 19:35:16 +0700
  • 6d9104e706 dependency graph calculation working Jared Wasinger 2024-11-20 20:48:43 +0700
  • 26491ae5cd still in a wip state Jared Wasinger 2024-11-20 18:57:03 +0700
  • 61263dcd68 stage point before I try to dedup contract interaction api Jared Wasinger 2024-11-06 22:28:54 +0900
  • 0aac1981f5 move v2 contract interaction methods into v2 package. add test Jared Wasinger 2024-11-04 22:50:47 +0900