Skip to content

2026 Summer Release dev upgrade merge#2332

Open
benjamin202410 wants to merge 1032 commits intomainfrom
dev-upgrade
Open

2026 Summer Release dev upgrade merge#2332
benjamin202410 wants to merge 1032 commits intomainfrom
dev-upgrade

Conversation

@benjamin202410
Copy link
Copy Markdown
Collaborator

Proposed changes

Types of changes

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

  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Changes that don't change source code or tests
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • revert: Revert something
  • style: Changes that do not affect the meaning of the code
  • test: Adding missing tests or correcting existing tests

Impacted Components

Which parts of the codebase does this PR touch?
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
  • Tested on a private network from the genesis block and monitored the chain operating correctly for multiple epochs.
  • 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 and others added 30 commits January 27, 2026 08:47
Replace panic with error return in decodeSignature to prevent crashes on
invalid inputs, and update callers to propagate the error.

Co-authored-by: DeFi Junkie <deffie.jnkiee@gmail.com>
Validate ciphertext length in decryptAPDU, preventing runtime panics on
invalid input.

Co-authored-by: DeFi Junkie <deffie.jnkiee@gmail.com>
 ethereum#32327 (#1961)

* eth/filters: change error code for invalid parameter errors ethereum#33320

* eth/filters, cmd: add config of eth_getLogs address limit ethereum#32327
…1163)

Co-authored-by: Dan Laine <daniel.laine@avalabs.org>
Co-authored-by: Felix Lange <fjl@twurst.com>
This removes the feature where top nodes of the proof can be elided.
It was intended to be used by the LES server, to save bandwidth
when the client had already fetched parts of the state and only needed
some extra nodes to complete the proof. Alas, it never got implemented
in the client.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
…ereum#27428 (#1166)

- Add error returns to Database.Reader() and NodeIterator() methods
- Introduce committed flag to prevent usage of tries after commit
- Update callers to handle new error signatures
- Add MustNodeIterator() helper for backward compatibility

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
…eum#27476 (#1167)

Verkle trees store the code inside the trie. This PR changes the interface to pass the code, as well as the dirty flag to tell the trie package if the code is dirty and needs to be updated. This is a no-op for the MPT and the odr trie.

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
…m#27544 (#1168)

* trie, core/state: revert error removal in (*state.Trie).Commit

* Gary's nitpick :)



---------

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Adds ethclient support for the eth_simulateV1 RPC method, which allows
simulating transactions on top of a base state without making changes to
the blockchain.

---------

Co-authored-by: hero5512 <lvshuaino@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
…cak state ethereum#32816 ethereum#32996 (#1991)

* feat(crypto): use the ziren keccak precompile ethereum#32816

Uses the go module's `replace` directive to delegate keccak computation
to precompiles.

This is still in draft because it needs more testing. Also, it relies on
a PR that I created, that hasn't been merged yet.

_Note that this PR doesn't implement the stateful keccak state
structure, and it reverts to the current behavior. This is a bit silly
since this is what is used in the tree root computation. The runtime
doesn't currently export the sponge. I will see if I can fix that in a
further PR, but it is going to take more time. In the meantime, this is
a useful first step_

* feat(crypto): implement ziren keccak state ethereum#32996

The ethereum#32816 was only using the keccak precompile for some minor task.
This PR implements a keccak state, which is what is used for hashing the
tree.

---------

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Link to spec: https://eips.ethereum.org/EIPS/eip-7623

---------

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
gzliudan and others added 24 commits April 16, 2026 10:48
…play (#2275)

Symptom: nodes that resumed syncing from local state could fail checkpoint validation with an invalid merkle root while replaying pre-TIPSigning blocks after restart.

Cause: the non-TIP signing transaction replay path rebuilt signer data from raw receipts, but raw receipts may not carry TxHash metadata. As a result, signing transactions could be dropped and checkpoint rewards recalculated with totalSigner=0.

Fix: match non-TIP signing transactions to receipts by transaction index when receipt metadata is unavailable, keep the failed-receipt filter intact, and add regression tests covering both raw-receipt matching and end-to-end checkpoint reward replay through GetRewardForCheckpoint.
…aming ethereum#30806 ethereum#33227 (#2286)

Refactor StructLogger so it can either buffer legacy trace results for
RPC responses or stream formatted output directly to the CLI.

Switch cmd/evm debug tracing to the streaming path and keep debug.traceCall
on the buffered path so it can still return structured trace results.

Update the tracer benchmark and related tests to match the new hook-based
logger lifecycle and the raw JSON structLogs representation.

Treat the struct logger limit as a response-size bound in bytes instead of
counting collected trace entries.

Co-authored-by: Martin HS <martin@swende.se>
Log the client version and git commit hash in reportBlock output.
This makes bad block reports easier to correlate with the running binary.
Include the peer remote TCP address in the registration log to expose IP and port for debugging.
Replace the final start.sh invocation with exec in the container entrypoint.
This removes one extra shell layer so the start script inherits the entrypoint process directly.
Close the ethereum shutdown channel before closing the chain database so bloom handler goroutines can exit first.
Add stop-step logs around the shutdown path to pinpoint hangs during node exit.
)

Stop waiting for timeout or delivery events after a state sync has already completed.
Add a regression test to ensure completed spindown returns promptly and resets peer idleness.
Track pair-peer disconnects with a separate connection count so removal logs
and shutdown bookkeeping do not underflow or drop the primary peer entry.
Clarify that PeerCount, Peers, net_peerCount, and admin_peers are reported by
unique remote NodeID rather than physical connection count.
Move the historical balance bypass table and application logic out of state_processor.go into a dedicated file.

Keep the state processing flow focused without changing the bypass behavior, and add focused tests for matching and non-matching historical rules.
Remove an unnecessary comment from core/vm.

Co-authored-by: Zheyuan He <ecjgvmhc@gmail.com>
Reject transaction values above uint256 max during txpool validation and execution.

Map the overflow to an invalid params RPC error and add focused unit tests.
Noticed this omission while doing some work on goevmlab. We don't
properly type some of the opcodes, but apparently implicit casting works
in all the internal usecases.

Co-authored-by: Martin HS <martin@swende.se>
Update stale comment names in the program and tracing packages to match the current APIs.
Drop the redundant EVM tracer setter and keep tracer configuration on Config.
Move opcode tracing out of the dynamic gas branch so tracing always runs before memory expansion.
Keep memory resizing in one place to match the upstream interpreter flow.
add some more changes for live tracing API:

- Hook OnSystemCallStartV2 was introduced with VMContext as parameter.
- Hook OnBlockHashRead was introduced.
- GetCodeHash was added to the state interface
- The new WrapWithJournal construction helps with tracking EVM reverts in the tracer.
…#2253 (#2298)

Avoid exposing in-flight verify batch headers as empty placeholder blocks.
Wire real batch blocks into full block imports while keeping header-only
verification limited to header lookups, so consensus code cannot observe
fabricated bodies during VerifyHeaders.

Add unit coverage for verifyChainReader and an engine v2 regression test for
block lookups during batch verification.
Resolve the coinbase owner inside ApplyTransactionWithEVM instead of passing a precomputed value from block processing.

This keeps fee routing aligned with the active state for each transaction and makes the block execution and tracer paths use the same owner-resolution logic.
Remove the custom EIP-7702 handlers for EXTCODECOPY, EXTCODESIZE, and EXTCODEHASH so the jump table keeps the default opcode behavior. This also drops the now-unused imports tied to delegation-specific code paths.
…hereum#30809 (#2284)

Move EVM tx context switching into ApplyMessage and remove the redundant caller-side setup.

Keep the execution gas price visible to tracers in XDPoS, because TransactionToMessage can rewrite msg.GasPrice for TRC21 and fixed-price fee paths before execution.

Seed the tx context before OnTxStart and restore VMContext.GasPrice so tracers observe the execution-time pricing instead of the raw transaction price. Update tracer tests to cover the execution gas price path.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Important

Review skipped

Too many files!

This PR contains 296 files, which is 146 over the limit of 150.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5e7a6f20-c7e0-4132-8d11-dbc2fee769c4

📥 Commits

Reviewing files that changed from the base of the PR and between 4ef1d4f and bac5b6f.

⛔ Files ignored due to path filters (4)
  • accounts/usbwallet/trezor/messages-common.pb.go is excluded by !**/*.pb.go
  • accounts/usbwallet/trezor/messages-ethereum.pb.go is excluded by !**/*.pb.go
  • accounts/usbwallet/trezor/messages-management.pb.go is excluded by !**/*.pb.go
  • accounts/usbwallet/trezor/messages.pb.go is excluded by !**/*.pb.go
📒 Files selected for processing (296)
  • .gitattributes
  • .github/copilot-instructions.md
  • .github/pull_request_template.md
  • .github/workflows/ci.yml
  • .github/workflows/pr-notify-slack.yml
  • .golangci.yml
  • .pre-commit-config.yaml
  • AGENTS.md
  • Dockerfile
  • Dockerfile.bootnode
  • Dockerfile.node
  • Makefile
  • XDCx/XDCx.go
  • XDCx/api.go
  • XDCx/order_processor.go
  • XDCx/order_processor_test.go
  • XDCx/tradingstate/XDCx_trie.go
  • XDCx/tradingstate/XDCx_trie_test.go
  • XDCx/tradingstate/database.go
  • XDCx/tradingstate/dump.go
  • XDCx/tradingstate/encoding.go
  • XDCx/tradingstate/managed_state.go
  • XDCx/tradingstate/orderitem.go
  • XDCx/tradingstate/relayer_state.go
  • XDCx/tradingstate/settle_balance.go
  • XDCx/tradingstate/settle_balance_test.go
  • XDCx/tradingstate/state_lendingbook.go
  • XDCx/tradingstate/state_liquidationprice.go
  • XDCx/tradingstate/state_orderList.go
  • XDCx/tradingstate/state_orderbook.go
  • XDCx/tradingstate/statedb.go
  • XDCx/tradingstate/statedb_test.go
  • XDCx/tradingstate/trade.go
  • XDCxDAO/interfaces.go
  • XDCxDAO/leveldb.go
  • XDCxDAO/mongodb.go
  • XDCxlending/XDCxlending.go
  • XDCxlending/api.go
  • XDCxlending/lendingstate/XDCx_trie.go
  • XDCxlending/lendingstate/database.go
  • XDCxlending/lendingstate/lendingcontract.go
  • XDCxlending/lendingstate/lendingitem.go
  • XDCxlending/lendingstate/lendingitem_test.go
  • XDCxlending/lendingstate/managed_state.go
  • XDCxlending/lendingstate/relayer.go
  • XDCxlending/lendingstate/settle_balance.go
  • XDCxlending/lendingstate/state_itemList.go
  • XDCxlending/lendingstate/state_lendingbook.go
  • XDCxlending/lendingstate/state_liquidationtime.go
  • XDCxlending/lendingstate/statedb.go
  • XDCxlending/lendingstate/statedb_test.go
  • XDCxlending/lendingstate/trade.go
  • XDCxlending/order_processor.go
  • XDCxlending/order_processor_test.go
  • accounts/abi/abigen/bind.go
  • accounts/abi/abigen/bind_test.go
  • accounts/abi/abigen/bindv2.go
  • accounts/abi/abigen/bindv2_test.go
  • accounts/abi/abigen/source.go.tpl
  • accounts/abi/abigen/source2.go.tpl
  • accounts/abi/abigen/template.go
  • accounts/abi/abigen/testdata/v2/callbackparam.go.txt
  • accounts/abi/abigen/testdata/v2/crowdsale.go.txt
  • accounts/abi/abigen/testdata/v2/dao.go.txt
  • accounts/abi/abigen/testdata/v2/deeplynestedarray.go.txt
  • accounts/abi/abigen/testdata/v2/empty.go.txt
  • accounts/abi/abigen/testdata/v2/eventchecker.go.txt
  • accounts/abi/abigen/testdata/v2/getter.go.txt
  • accounts/abi/abigen/testdata/v2/identifiercollision.go.txt
  • accounts/abi/abigen/testdata/v2/inputchecker.go.txt
  • accounts/abi/abigen/testdata/v2/interactor.go.txt
  • accounts/abi/abigen/testdata/v2/nameconflict.go.txt
  • accounts/abi/abigen/testdata/v2/numericmethodname.go.txt
  • accounts/abi/abigen/testdata/v2/outputchecker.go.txt
  • accounts/abi/abigen/testdata/v2/overload.go.txt
  • accounts/abi/abigen/testdata/v2/rangekeyword.go.txt
  • accounts/abi/abigen/testdata/v2/slicer.go.txt
  • accounts/abi/abigen/testdata/v2/structs.go.txt
  • accounts/abi/abigen/testdata/v2/token.go.txt
  • accounts/abi/abigen/testdata/v2/tuple.go.txt
  • accounts/abi/abigen/testdata/v2/tupler.go.txt
  • accounts/abi/abigen/testdata/v2/underscorer.go.txt
  • accounts/abi/argument.go
  • accounts/abi/bind/auth.go
  • accounts/abi/bind/backends/simulated.go
  • accounts/abi/bind/backends/simulated_test.go
  • accounts/abi/bind/old.go
  • accounts/abi/bind/v2/auth.go
  • accounts/abi/bind/v2/backend.go
  • accounts/abi/bind/v2/base.go
  • accounts/abi/bind/v2/base_test.go
  • accounts/abi/bind/v2/dep_tree.go
  • accounts/abi/bind/v2/dep_tree_test.go
  • accounts/abi/bind/v2/generate_test.go
  • accounts/abi/bind/v2/internal/contracts/db/bindings.go
  • accounts/abi/bind/v2/internal/contracts/db/combined-abi.json
  • accounts/abi/bind/v2/internal/contracts/db/contract.sol
  • accounts/abi/bind/v2/internal/contracts/events/bindings.go
  • accounts/abi/bind/v2/internal/contracts/events/combined-abi.json
  • accounts/abi/bind/v2/internal/contracts/events/contract.sol
  • accounts/abi/bind/v2/internal/contracts/nested_libraries/abi.json
  • accounts/abi/bind/v2/internal/contracts/nested_libraries/bindings.go
  • accounts/abi/bind/v2/internal/contracts/nested_libraries/combined-abi.json
  • accounts/abi/bind/v2/internal/contracts/nested_libraries/contract.sol
  • accounts/abi/bind/v2/internal/contracts/solc_errors/bindings.go
  • accounts/abi/bind/v2/internal/contracts/solc_errors/combined-abi.json
  • accounts/abi/bind/v2/internal/contracts/solc_errors/contract.sol
  • accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/bindings.go
  • accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/combined-abi.json
  • accounts/abi/bind/v2/internal/contracts/uint256arrayreturn/contract.sol
  • accounts/abi/bind/v2/lib.go
  • accounts/abi/bind/v2/util.go
  • accounts/abi/bind/v2/util_test.go
  • accounts/abi/error_handling.go
  • accounts/abi/pack.go
  • accounts/abi/pack_test.go
  • accounts/abi/reflect.go
  • accounts/abi/reflect_test.go
  • accounts/abi/type.go
  • accounts/abi/unpack_test.go
  • accounts/accounts.go
  • accounts/keystore/account_cache_test.go
  • accounts/keystore/keystore.go
  • accounts/keystore/keystore_test.go
  • accounts/keystore/passphrase.go
  • accounts/keystore/passphrase_test.go
  • accounts/keystore/presale.go
  • accounts/manager.go
  • accounts/scwallet/securechannel.go
  • accounts/scwallet/wallet.go
  • accounts/usbwallet/hub.go
  • accounts/usbwallet/ledger.go
  • accounts/usbwallet/trezor.go
  • accounts/usbwallet/wallet.go
  • bmt/bmt.go
  • bmt/bmt_test.go
  • build/checksums.txt
  • build/ci.go
  • cicd/Dockerfile
  • cicd/devnet/genesis.json
  • cicd/devnet/start-local-devnet.sh
  • cicd/devnet/start.sh
  • cicd/entry.sh
  • cicd/local/start.sh
  • cicd/mainnet/bootnodes.list
  • cicd/mainnet/start.sh
  • cicd/puppeth.sh
  • cicd/testnet/bootnodes.list
  • cicd/testnet/genesis.json
  • cicd/testnet/start.sh
  • cmd/XDC/accountcmd.go
  • cmd/XDC/accountcmd_test.go
  • cmd/XDC/bugcmd.go
  • cmd/XDC/chaincmd.go
  • cmd/XDC/config.go
  • cmd/XDC/consolecmd.go
  • cmd/XDC/consolecmd_test.go
  • cmd/XDC/dao_test.go
  • cmd/XDC/dbcmd.go
  • cmd/XDC/main.go
  • cmd/XDC/misccmd.go
  • cmd/abigen/main.go
  • cmd/ethkey/README.md
  • cmd/ethkey/main.go
  • cmd/ethkey/message_test.go
  • cmd/ethkey/utils.go
  • cmd/evm/main.go
  • cmd/evm/runner.go
  • cmd/evm/staterunner.go
  • cmd/evm/testdata/31/README.md
  • cmd/evm/testdata/31/alloc.json
  • cmd/evm/testdata/31/env.json
  • cmd/evm/testdata/31/trace-0-0x88f5fbd1524731a81e49f637aa847543268a5aaf2a6b32a69d2c6d978c45dcfb.json
  • cmd/evm/testdata/31/trace-0-0x88f5fbd1524731a81e49f637aa847543268a5aaf2a6b32a69d2c6d978c45dcfb.jsonl
  • cmd/evm/testdata/31/txs.json
  • cmd/p2psim/main.go
  • cmd/puppeth/genesis.go
  • cmd/puppeth/module.go
  • cmd/puppeth/module_ethstats.go
  • cmd/puppeth/module_faucet.go
  • cmd/puppeth/module_node.go
  • cmd/puppeth/puppeth.go
  • cmd/puppeth/ssh.go
  • cmd/puppeth/wizard.go
  • cmd/puppeth/wizard_ethstats.go
  • cmd/puppeth/wizard_faucet.go
  • cmd/puppeth/wizard_genesis.go
  • cmd/puppeth/wizard_intro.go
  • cmd/puppeth/wizard_netstats.go
  • cmd/puppeth/wizard_network.go
  • cmd/puppeth/wizard_node.go
  • cmd/puppeth/wizard_wallet.go
  • cmd/utils/cmd.go
  • cmd/utils/flags.go
  • cmd/utils/flags_legacy.go
  • common/big.go
  • common/bitutil/bitutil.go
  • common/bitutil/bitutil_test.go
  • common/constants.all.go
  • common/constants.devnet.go
  • common/constants.go
  • common/constants.local.go
  • common/constants.mainnet.go
  • common/constants.testnet.go
  • common/constants/constants.go.devnet
  • common/constants/constants.go.local
  • common/constants/constants.go.testnet
  • common/countdown/countdown.go
  • common/countdown/countdown_test.go
  • common/countdown/exp_duration.go
  • common/format.go
  • common/gas.go
  • common/hexutil/hexutil.go
  • common/hexutil/json.go
  • common/hexutil/json_test.go
  • common/math/big.go
  • common/math/integer.go
  • common/math/integer_test.go
  • common/path.go
  • common/prque/lazyqueue_test.go
  • common/size.go
  • common/types.go
  • common/types_test.go
  • consensus/XDPoS/XDPoS.go
  • consensus/XDPoS/XDPoS_test.go
  • consensus/XDPoS/api.go
  • consensus/XDPoS/api_test.go
  • consensus/XDPoS/engines/engine_v1/engine.go
  • consensus/XDPoS/engines/engine_v1/snapshot.go
  • consensus/XDPoS/engines/engine_v1/utils.go
  • consensus/XDPoS/engines/engine_v1/utils_test.go
  • consensus/XDPoS/engines/engine_v2/engine.go
  • consensus/XDPoS/engines/engine_v2/epochSwitch.go
  • consensus/XDPoS/engines/engine_v2/forensics.go
  • consensus/XDPoS/engines/engine_v2/forensics_test.go
  • consensus/XDPoS/engines/engine_v2/mining.go
  • consensus/XDPoS/engines/engine_v2/snapshot.go
  • consensus/XDPoS/engines/engine_v2/syncInfo.go
  • consensus/XDPoS/engines/engine_v2/testing_utils.go
  • consensus/XDPoS/engines/engine_v2/timeout.go
  • consensus/XDPoS/engines/engine_v2/utils.go
  • consensus/XDPoS/engines/engine_v2/verifyHeader.go
  • consensus/XDPoS/engines/engine_v2/vote.go
  • consensus/XDPoS/engines/engine_v2/vote_test.go
  • consensus/XDPoS/utils/constants.go
  • consensus/XDPoS/utils/errors.go
  • consensus/XDPoS/utils/pool.go
  • consensus/XDPoS/utils/types.go
  • consensus/XDPoS/utils/utils.go
  • consensus/XDPoS/verify_chain_reader.go
  • consensus/XDPoS/verify_chain_reader_test.go
  • consensus/clique/clique.go
  • consensus/clique/snapshot.go
  • consensus/consensus.go
  • consensus/ethash/algorithm.go
  • consensus/ethash/algorithm_test.go
  • consensus/ethash/consensus.go
  • consensus/ethash/consensus_test.go
  • consensus/ethash/ethash.go
  • consensus/ethash/ethash_test.go
  • consensus/ethash/sealer.go
  • consensus/misc/dao.go
  • consensus/misc/eip1559/eip1559.go
  • consensus/misc/eip1559/eip1559_test.go
  • consensus/tests/engine_v1_tests/block_signer_test.go
  • consensus/tests/engine_v1_tests/blockchain_race_condition_test.go
  • consensus/tests/engine_v1_tests/checkpoint_sync_invalid_validators_test.go
  • consensus/tests/engine_v1_tests/helper.go
  • consensus/tests/engine_v2_tests/adaptor_test.go
  • consensus/tests/engine_v2_tests/api_test.go
  • consensus/tests/engine_v2_tests/authorised_masternode_test.go
  • consensus/tests/engine_v2_tests/helper.go
  • consensus/tests/engine_v2_tests/initial_test.go
  • consensus/tests/engine_v2_tests/mine_test.go
  • consensus/tests/engine_v2_tests/penalty_test.go
  • consensus/tests/engine_v2_tests/proposed_block_test.go
  • consensus/tests/engine_v2_tests/reward_test.go
  • consensus/tests/engine_v2_tests/sync_info_test.go
  • consensus/tests/engine_v2_tests/timeout_test.go
  • consensus/tests/engine_v2_tests/verify_header_test.go
  • consensus/tests/engine_v2_tests/vote_test.go
  • console/bridge.go
  • console/console.go
  • console/console_test.go
  • console/prompt/prompter.go
  • console/testdata/exec.js
  • containers/docker/develop-alpine/Dockerfile
  • containers/docker/develop-ubuntu/Dockerfile
  • containers/docker/master-alpine/Dockerfile
  • containers/docker/master-ubuntu/Dockerfile
  • contracts/XDCx/simulation/fee/lending/main.go
  • contracts/XDCx/simulation/fee/trading/main.go
  • contracts/XDCx/simulation/price/main.go
  • contracts/XDCx/trc21.go
  • contracts/XDCx/trc21Issuer.go
  • contracts/blocksigner/blocksigner.go

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-upgrade

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

gzliudan and others added 4 commits April 28, 2026 12:01
Guard PairPeer access with synchronized helpers and snapshot the pair before launching async disconnect during peer shutdown.

Add regression coverage for pair-peer teardown and keep the existing pair tracking checks using the synchronized accessors.
* fix(devnet): update chain ID and genesis parameters for Devnet configuration

- Changed chain ID from 551 to 5551 in multiple files including genesis.json and flags.go.
- Updated TIPV2SwitchBlock to 2700 and dynamicGasLimitBlock to 5000000 in constants.devnet.go.
- Adjusted rewards and wallet addresses in the devnet configuration.
- Modified genesis block timestamp and extra data for consistency with new parameters.
- Ensured all related configurations reflect the new chain ID and settings for improved network stability.

* params: update block parameters for pragueBlock, tipUpgradeReward, and tipUpgradePenalty to 5000000 in constants.devnet.go

* feat(params): enhance DevnetV2Configs with additional parameters for improved configuration

* params: add MinimumMinerBlockPerEpoch and LimitPenaltyEpoch to DevnetV2Configs for enhanced configuration
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.

5 participants