Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev upgrade monthly to master #470

Merged
merged 70 commits into from
Mar 11, 2024
Merged

Dev upgrade monthly to master #470

merged 70 commits into from
Mar 11, 2024

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    06dc0ea View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    f11bf73 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Merge pull request #441 from gzliudan/fix-issue-440

    Fix panic during test (#440)
    gzliudan authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8563ee3 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. params: lint ChainConfig

    gzliudan committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4731eb2 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Merge pull request #455 from gzliudan/lint-ChainConfig

    Lint struct ChainConfig in file params/config.go
    gzliudan authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ac7a58c View commit details
    Browse the repository at this point in the history
  2. core/vm: use uint256 in EVM implementation (ethereum#20787)

    * core/vm: use fixed uint256 library instead of big
    
    * core/vm: remove intpools
    
    * core/vm: upgrade uint256, fixes uint256.NewFromBig
    
    * core/vm: use uint256.Int by value in Stack
    
    * core/vm: upgrade uint256 to v1.0.0
    
    * core/vm: don't preallocate space for 1024 stack items (only 16)
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    2 people authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    192edc0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06d5da0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    446b9e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6077ecb View commit details
    Browse the repository at this point in the history
  6. core/vm: clean up contract creation error handling (ethereum#22766)

    Do not keep separate flag for "max code size exceeded" case, but instead
    assign appropriate error for it sooner.
    chfast authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    9c8d228 View commit details
    Browse the repository at this point in the history
  7. core/vm: fix interpreter comments (ethereum#22797)

    * Fix interpreter comment
    
    * Fix comment
    aaronbuchwald authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    7c6908b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    21bbe5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7a55b9f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f05fa00 View commit details
    Browse the repository at this point in the history
  11. core/vm: rework jumpdest analysis benchmarks (ethereum#23499)

    * core/vm: rework jumpdest analysis benchmarks
    
    For BenchmarkJumpdestOpAnalysis use fixed code size of ~1.2MB
    and classic benchmark loop.
    
    * core/vm: clear bitvec in jumpdest analysis benchmark
    chfast authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    dc8cdf3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f9e14af View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3d3cc6c View commit details
    Browse the repository at this point in the history
  14. core/vm, core/state/snapshot: remove unused code (ethereum#23956)

    * core/state/snapshot: remove wiper functionality
    
    * core/vm: remove unused 'unofficial' opcodes
    holiman authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    f7c6b1a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6415934 View commit details
    Browse the repository at this point in the history
  16. core/vm: simplify error handling in interpreter loop (ethereum#23952)

    * core/vm: break loop on any error
    
    * core/vm: move ErrExecutionReverted to opRevert()
    
    * core/vm: use "stop token" to stop the loop
    
    * core/vm: unconditionally pc++ in the loop
    
    * core/vm: set return data in instruction impls
    chfast authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    823ec33 View commit details
    Browse the repository at this point in the history
  17. core/vm: rename SHA3 instruction to KECCAK256 (ethereum#23976)

    This was proposed in 2016, Solidity uses this since 2017, and evmone and other VMs use the keccak256 name. This brings geth in line with those.
    axic authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c097e56 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    002be52 View commit details
    Browse the repository at this point in the history
  19. core/vm: move interpreter.ReadOnly check into the opcode implementati…

    …ons (ethereum#23970)
    
    * core/vm: Move interpreter.ReadOnly check into the opcode implementations
    
    Also remove the same check from the interpreter inner loop.
    
    * core/vm: Remove obsolete operation.writes flag
    
    * core/vm: Capture fault states in logger
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    
    * core/vm: Remove panic added for testing
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    2 people authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    bfbb678 View commit details
    Browse the repository at this point in the history
  20. core/vm: rename opSuicide to opSelfdestruct (ethereum#24022)

    The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
    axic authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b1c0386 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ae267d3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7d3c783 View commit details
    Browse the repository at this point in the history
  23. core/vm: move interpreter interruption check to jump instructions (et…

    …hereum#24026)
    
    * core/vm: Remove interpreter loop interruption check
    
    * core/vm: Unit test for interpreter loop interruption
    
    * core/vm: Check for interpreter loop abort on every jump
    gumb0 authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    4c27910 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    fbc1cc1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2ce3001 View commit details
    Browse the repository at this point in the history
  26. core/vm: reverse bit order in bytes of code bitmap (ethereum#24120)

    * core/vm: reverse bit order in bytes of code bitmap
    
    This bit order is more natural for bit manipulation operations and we
    can eliminate some small number of CPU instructions.
    
    * core/vm: drop lookup table
    chfast authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6e92486 View commit details
    Browse the repository at this point in the history
  27. core/vm: make INVALID a defined opcode (ethereum#24017)

    * core/vm: Define 0xfe opcode as INVALID
    
    * core/vm: Remove opInvalid as opUndefined handles it
    
    Co-authored-by: Alex Beregszaszi <[email protected]>
    2 people authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b022ba2 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ac35f0e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    62b62da View commit details
    Browse the repository at this point in the history
  30. core/vm: optimize Memory.Set32 (ethereum#24847)

    * core/vm: remove unnecessary memset for Memory.Set32
    
    * core/vm: optimize Memory.Set32
    qianbin authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    032b98e View commit details
    Browse the repository at this point in the history
  31. core/vm: better handle error on eip activation check (ethereum#25131)

    * core/vm: correct logic for eip check of NewEVMInterpreter
    
    * refactor
    qinglin89 authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    8b6db6d View commit details
    Browse the repository at this point in the history
  32. core/vm: performance tweak of OpCode.String() (ethereum#28453)

    make `opCodeToString` a `[256]string` array
    
    Co-authored-by: lmittmann <[email protected]>
    2 people authored and gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b36678f View commit details
    Browse the repository at this point in the history
  33. Merge pull request #452 from gzliudan/new-vm

    preparation for solidity v0.8.23 upgrade
    gzliudan authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    df2384e View commit details
    Browse the repository at this point in the history
  34. implement EIP-3198

    gzliudan committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    928a069 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Merge pull request #458 from gzliudan/eip3198

    implement EIP-3198 and opcode BASEFEE
    gzliudan authored Mar 2, 2024
    Configuration menu
    Copy the full SHA
    3e74a2f View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Use github action (#460)

    liam-lai authored Mar 3, 2024
    Configuration menu
    Copy the full SHA
    cf22195 View commit details
    Browse the repository at this point in the history
  2. remove all CI warning by upgrade to nodejs 20 image (#461)

    * upgrade to nodejs 20
    
    * disable travis ci
    liam-lai authored Mar 3, 2024
    Configuration menu
    Copy the full SHA
    317dc4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e324d7d View commit details
    Browse the repository at this point in the history
  4. implement EIP-4399, PREVRANDAO opcode.

    and remove unused LondonBlock and BerlinBlock in `params/config.go` (already defined in constants.go)
    wgr523 committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    a314895 View commit details
    Browse the repository at this point in the history
  5. lint for params/config.go

    wgr523 committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    72e5ee0 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Try remove privacy pkg (#466)

    * try removing privacy pkg
    
    * rm more reference
    
    * trigger CI
    wanwiset25 authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    b86c7f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46ef5e1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #459 from XinFinOrg/eip4399

    implement EIP-4399, PREVRANDAO opcode
    liam-lai authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    38a192e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7bd39e6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    07d40a0 View commit details
    Browse the repository at this point in the history
  6. Disable xdcx related tx creation (#430)

    * stop create xdcx tx
    * refactor disable flag
    * disable miner only
    liam-lai authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    753729c View commit details
    Browse the repository at this point in the history
  7. Merge pull request #469 from gzliudan/http-server-timeout

    add http.TimeoutHandler for rpc http server
    gzliudan authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    5223454 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    bbe08ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ece58f0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #479 from gzliudan/get-account-info

    add method `eth_getAccountInfo`
    gzliudan authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    476bda6 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Rollback privacy (#477)

    Rollback the previous test removal or privacy package on devnet.
    
    This reverts commit 4f79e53.
    
    This reverts commit 5a2722c.
    wanwiset25 authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    ae10d70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ba7c26 View commit details
    Browse the repository at this point in the history
  3. fix typo in EIPs

    wgr523 authored and wang-gerui committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    0e36b5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    968440c View commit details
    Browse the repository at this point in the history
  5. eth/tracers/js: fix isPush for push0 (ethereum#28520)

    Fixes so that `push0` opcode is correctly reported as `true` by the `IsPush` function
    
    ---------
    
    Co-authored-by: Martin Holst Swende <[email protected]>
    wang-gerui and holiman committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    863d4f1 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #472 from XinFinOrg/eip3855

    core/vm: implement EIP-3855: PUSH0 instruction.
    gzliudan authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    6a2f753 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #480 from gzliudan/lru

    common/lru: add generic LRU implementation
    gzliudan authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    6c80c09 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. enable 0x prefix for devnet code rpcs

    Liam Lai committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    771c2f3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #481 from XinFinOrg/enable-0x-prefix

    enable 0x prefix for devnet code rpcs
    gzliudan authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    f5e09b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66e3eba View commit details
    Browse the repository at this point in the history
  4. Merge pull request #482 from gzliudan/devnet-shanghai

    Enable shanghai for devnet on block 16832700
    liam-lai authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    b51f696 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    75c8d40 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    910d415 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Configuration menu
    Copy the full SHA
    c7cb63d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3051b2d View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. bump version to 2.1.0 (#485)

    Co-authored-by: Liam Lai <[email protected]>
    liam-lai and Liam Lai authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    45ccc37 View commit details
    Browse the repository at this point in the history