- Add support for PoS RPC methods
- Split RPC methods to it's own namespace, currently include:
cfx
,pos
,trace
,txpool
- Add support for batch RPC
- Browser export class name change from Conflux to
TreeGraph
- Add method
getNextUsableNonce
toconflux.advanced
, which will first try to usetxpool_nextNonce
to get a usable nonce, if failed it will fall back tocfx_getNextNonce
- Add three internal contracts
CrossSpaceCall
,ConfluxContext
,PoSRegister
- Add one method
cfxMappedEVMSpaceAddress
toaddress
utility.
trace updates
- Add a new boolean field
valid
to indicate whether this trace has change state - The
internal_transfer_action
type trace has added four new fieldfromPocket
,toPocket
,fromSpace
,toSpace
- The
call
andcreate
type trace has added one new fieldspace
For detail explanation of the trace updates check this doc.
Check v2.0 changes for change details
Provider API
- Add
provider.request
to make provider compliant with EIP-1193 - Add a new provider
WechatProvider
which can be used in Wechat environment