v2.0
In the Hydra hardfork (v2.0) Conflux will introduce serveral big upgrades through 8 CIPs (Conflux improvement proposal).
PoS
Through CIP-43 Hydra has introduced a PoS system to improve the finality of the whole Network. CFX holders can stake their CFX to PoS to protect high-value transactions and also earn CFX rewards of participating the PoS. For detail information, check PoS Overview page.
Conflux eSpace
The CIP-90 has introduced a new fully EVM-compatible space. The new space is called eSpace, and the current space is called Core Space. The eSpace follows the same rule as EVM and supports eth rpc like eth_getBalance, so the tools (web3.js, ethers.js, hardhat and so on) from ethereum ecosystem can be used on Conflux directly. Check eSpace documentation for more info.
New Added InternalContracts
Hydra hardfork has intoduced three new InternalContracts:
ConfluxContext
(CIP-64)PoSRegister
(CIP-43)CrossSpaceCall
(CIP-90)
RPC changes
cfx namespace RPC change
- New added methods:
cfx_getPoSRewardByEpoch
,cfx_openedMethodGroups
,cfx_getPoSEconomics
. - New added EpochNumber tag:
latest_finalized
indicating latest finalized (by PoS) epoch. cfx_getStatus
reponse have two new field:latestFinalized
,ethereumSpaceChainId
- Block header new added field:
posReference
which is the latest pos blockHash when the PoW block is mined. - Block header's
custom
field's type has changed from array ofnumber array
to array ofhex string
.
// before
custom: [[1, 2]]
// after
custom: ["0x12"]
Note: CIP-90 will break some block field's verifiability for example: hash
trace RPC breaking change
trace
RPC methods have some big changes
New added namespace
eSpace eth RPC
The eSpace has introduced the eth
namespace RPC, check the RPC compatibility doc for details
Conflux-rust config file
The mainnet config file has been renamed from tethys.toml
to hydra.toml
, the bootnodes
has changed and several options are added:
jsonrpc_http_eth_port = 8545
jsonrpc_ws_eth_port = 8546
public_evm_rpc_apis = "evm"
evm_chain_id = 1030