1. 01 Nov, 2021 2 commits
  2. 21 Oct, 2021 1 commit
  3. 14 Oct, 2021 1 commit
  4. 13 Oct, 2021 2 commits
  5. 28 Sep, 2021 1 commit
  6. 22 Sep, 2021 1 commit
  7. 23 Aug, 2021 1 commit
  8. 10 Aug, 2021 1 commit
    • lightclient's avatar
      internal/ethapi, accounts/abi/bind: cap highest gas limit by account balance... · a879c42b
      lightclient authored
      internal/ethapi, accounts/abi/bind: cap highest gas limit by account balance for 1559 fee parameters (#23309)
      
      * internal/ethapi/api: cap highest gas limit by account balance for 1559 fee parameters
      
      * accounts/abi/bind: port gas limit cap for 1559 parameters to simulated backend
      
      * accounts/abi/bind: add test for 1559 gas estimates for the simulated backend
      
      * internal/ethapi/api: fix comment
      
      * accounts/abi/bind/backends, internal/ethapi: unify naming style
      Co-authored-by: 's avatarPéter Szilágyi <peterke@gmail.com>
      a879c42b
  9. 27 Jul, 2021 2 commits
  10. 29 Jun, 2021 1 commit
  11. 22 Jun, 2021 1 commit
  12. 17 Jun, 2021 1 commit
  13. 15 Jun, 2021 1 commit
  14. 14 Jun, 2021 1 commit
  15. 08 Jun, 2021 1 commit
  16. 17 May, 2021 1 commit
  17. 19 Mar, 2021 1 commit
  18. 25 Feb, 2021 1 commit
    • lightclient's avatar
      all: add support for EIP-2718, EIP-2930 transactions (#21502) · bbfb1e40
      lightclient authored
      This adds support for EIP-2718 typed transactions as well as EIP-2930
      access list transactions (tx type 1). These EIPs are scheduled for the
      Berlin fork.
      
      There very few changes to existing APIs in core/types, and several new APIs
      to deal with access list transactions. In particular, there are two new
      constructor functions for transactions: types.NewTx and types.SignNewTx.
      Since the canonical encoding of typed transactions is not RLP-compatible,
      Transaction now has new methods for encoding and decoding: MarshalBinary
      and UnmarshalBinary.
      
      The existing EIP-155 signer does not support the new transaction types.
      All code dealing with transaction signatures should be updated to use the
      newer EIP-2930 signer. To make this easier for future updates, we have
      added new constructor functions for types.Signer: types.LatestSigner and
      types.LatestSignerForChainID. 
      
      This change also adds support for the YoloV3 testnet.
      Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      Co-authored-by: 's avatarRyan Schneider <ryanleeschneider@gmail.com>
      bbfb1e40
  19. 23 Feb, 2021 1 commit
  20. 10 Feb, 2021 1 commit
  21. 20 Jan, 2021 1 commit
  22. 30 Dec, 2020 1 commit
  23. 12 Dec, 2020 1 commit
  24. 08 Dec, 2020 1 commit
    • Marius van der Wijden's avatar
      accounts/abi/bind: allow specifying signer on transactOpts (#21356) · ed0670cb
      Marius van der Wijden authored
      This commit enables users to specify which signer they want to use while creating their transactOpts.
      Previously all contract interactions used the homestead signer. Now a user can specify whether they
      want to sign with homestead or EIP155 and specify the chainID which adds another layer of security.
      
      Closes #16484
      ed0670cb
  25. 04 Dec, 2020 1 commit
    • Martin Holst Swende's avatar
      core: improve contextual information on core errors (#21869) · 7770e41c
      Martin Holst Swende authored
      A lot of times when we hit 'core' errors, example: invalid tx, the information provided is
      insufficient. We miss several pieces of information: what account has nonce too high,
      and what transaction in that block was offending?
      
      This PR adds that information, using the new type of wrapped errors.
      It also adds a testcase which (partly) verifies the output from the errors.
      
      The first commit changes all usage of direct equality-checks on core errors, into
      using errors.Is. The second commit adds contextual information. This wraps most
      of the core errors with more information, and also wraps it one more time in
      stateprocessor, to further provide tx index and tx hash, if such a tx is encoutered in
      a block. The third commit uses the chainmaker to try to generate chains with such
      errors in them, thus triggering the errors and checking that the generated string meets
      expectations.
      7770e41c
  26. 25 Nov, 2020 1 commit
  27. 13 Nov, 2020 2 commits
  28. 27 Oct, 2020 1 commit
  29. 28 Sep, 2020 1 commit
    • Marius van der Wijden's avatar
      accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) · 420b7865
      Marius van der Wijden authored
      * accounts/abi: refactored abi.Unpack
      
      * accounts/abi/bind: fixed error
      
      * accounts/abi/bind: modified template
      
      * accounts/abi/bind: added ToStruct for conversion
      
      * accounts/abi: reenabled tests
      
      * accounts/abi: fixed tests
      
      * accounts/abi: fixed tests for packing/unpacking
      
      * accounts/abi: fixed tests
      
      * accounts/abi: added more logic to ToStruct
      
      * accounts/abi/bind: fixed template
      
      * accounts/abi/bind: fixed ToStruct conversion
      
      * accounts/abi/: removed unused code
      
      * accounts/abi: updated template
      
      * accounts/abi: refactored unused code
      
      * contracts/checkpointoracle: updated contracts to sol ^0.6.0
      
      * accounts/abi: refactored reflection logic
      
      * accounts/abi: less code duplication in Unpack*
      
      * accounts/abi: fixed rebasing bug
      
      * fix a few typos in comments
      
      * rebase on master
      Co-authored-by: 's avatarGuillaume Ballet <gballet@gmail.com>
      420b7865
  30. 20 Sep, 2020 1 commit
  31. 16 Sep, 2020 1 commit
    • Marius van der Wijden's avatar
      tests/fuzzers/abi: add fuzzer for fuzzing package accounts/abi (#21217) · 89884dc3
      Marius van der Wijden authored
      * tests/fuzzers/abi: added abi fuzzer
      
      * accounts/abi: fixed issues found by fuzzing
      
      * tests/fuzzers/abi: update fuzzers, added repro test
      
      * tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * accounts/abi: minor style fix
      
      * go.mod: added go-fuzz dependency
      
      * tests/fuzzers/abi: updated abi fuzzer
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: make linter happy
      
      * tests/fuzzers/abi: comment out false positives
      89884dc3
  32. 09 Sep, 2020 1 commit
  33. 07 Sep, 2020 1 commit
  34. 01 Sep, 2020 1 commit
  35. 26 Aug, 2020 1 commit
  36. 20 Jul, 2020 1 commit