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

upgarde package rlp to 2024-05-15 #542

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

gzliudan
Copy link
Collaborator

@gzliudan gzliudan commented May 15, 2024

Proposed changes

Upgrade package rlp to latest, include below PRs about rlp:

2024-04-23 all: fix various typos (#29600)
2024-04-09 rlp: replace reflect.PtrTo with reflect.PointerTo (#29488)
2024-04-02 rlp: using maps.Clone (#29434)
2024-03-21 all: use min/max/clear from go1.21 (#29307)
2024-03-05 rlp: using unsafe.Slice instead of SliceHeader (#29067)
2024-03-05 rlp: remove a moot todo (#29154)
2023-09-14 rlp/rlpgen: remove build tag (#28106)
2023-08-23 rlp: remove allocation of bytes.Reader in DecodeBytes (#27987)
2023-06-16 rlp: fix typos (#27484)
2023-06-07 rlp: use identical receiver names for encBuffer methods (#27430)
2023-03-24 rlp/rlpgen: print want/expect output string if mismatch (#26932)
2023-03-17 rlp: support for uint256 (#26898)
2022-11-17 rlp: improve tests for Split functions (#26200)
2022-11-07 p2p/discover: improve discv5 NODES response packing (#26033)
2022-11-02 rlp: add more tests for nil pointer / optional field encoding (#26077)
2022-10-04 all: fix docstrings
2022-09-10 build: upgrade to go 1.19 (#25726)
2022-08-19 rlp/rlpgen: fix error handling when target type not found (#25547)
2022-07-25 all: add whitespace linter (#25312)
2022-06-14 all: prefer `new(big.Int)` over `big.NewInt(0)` (#25087)
2022-06-13 all: more linters (#24783)
2022-05-24 all: update license headers and AUTHORS from git history (#24947)
2022-05-16 all: replace uses of ioutil with io and os (#24869)
2022-05-09 all: replace strings.Replace with string.ReplaceAll (#24835)
2022-03-29 rlp: fix typo in comment (#24595)
2022-03-09 rlp, trie: faster trie node encoding (#24126)
2022-02-24 rlp: add WriteString method on EncoderBuffer (#24425)
2022-02-16 rlp/rlpgen: RLP encoder code generator (#24251)
2021-10-19 all: fix warning flagging the use of DeepEqual on error (#23624)
2021-08-25 rlp: minor optimizations for slice/array encoding (#23467)
2021-08-25 all: add go:build lines (#23468)
2021-05-27 p2p/rlpx: reduce allocation and syscalls (#22899)
2021-05-25 rlp: optimize big.Int decoding for size <= 32 bytes (#22927)
2021-05-25 rlp, tests/fuzzers/bls12381: gofmt (#22937)
2021-05-22 rlp: optimize byte array handling (#22924)
2021-05-22 rlp: use atomic.Value for type cache (#22902)
2021-05-18 rlp: improve decoder stream implementation (#22858)
2021-05-07 rlp: add support for optional struct fields (#22832)
2021-03-16 core/rawdb: fix transaction indexing/unindexing hashing error (#22457)
2021-02-18 rlp: handle case of normal EOF in Stream.readFull (#22336)
2020-11-25 all: simplify nested complexity and if blocks ending with a return statement (#21854)
2020-11-04 core/types, rlp: optimize derivesha (#21728)
2020-09-14 rlp: add SplitUint64 (#21563)
2020-07-06 rlp: reduce allocations for big.Int and byte array encoding (#21291)
2020-07-01 rlp: avoid list header allocation in encoder (#21274)
2020-05-11 cmd, core, eth: background transaction indexing (#20302)
2019-11-25 rlp: fix staticcheck warnings (#20368)
2019-11-18 build: use golangci-lint (#20295)
2019-09-13 rlp: improve nil pointer handling (#20064)
2019-05-14 rlp: fixes for two corner cases and documentation (#19527)
2019-02-25 rlp: added pooling of streams using sync (#19044)

Types of changes

What types of changes does your code introduce to XDC network?
Put an in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)
  • Regular KTLO or any of the maintaince work. e.g code style
  • CICD Improvement

Impacted Components

Which part of the codebase this PR will touch base on,

Put an in the boxes that apply

  • Consensus
  • Account
  • Network
  • Geth
  • Smart Contract
  • External components
  • Not sure (Please specify below)

Checklist

Put an in the boxes once you have confirmed below actions (or provide reasons on not doing so) that

  • This PR has sufficient test coverage (unit/integration test) OR I have provided reason in the PR description for not having test coverage
  • Provide an end-to-end test plan in the PR description on how to manually test it on the devnet/testnet.
  • Tested the backwards compatibility.
  • Tested with XDC nodes running this version co-exist with those running the previous version.
  • Relevant documentation has been updated as part of this PR
  • N/A

@gzliudan gzliudan changed the title upgarde package rlp to 2024-05-14 upgarde package rlp to 2024-05-15 May 15, 2024
@liam-lai
Copy link
Collaborator

Is this RLP upgrade backward compatible or do we need to upgrade all the nodes together seems encode and decode all been upgrade.

@gzliudan gzliudan merged commit 09eb612 into XinFinOrg:dev-upgrade May 20, 2024
17 checks passed
@gzliudan gzliudan deleted the rlp branch May 20, 2024 04:38
liam-lai pushed a commit that referenced this pull request Jul 26, 2024
upgarde package rlp to 2024-05-15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants