Support for eth_getProof RPC (#2986)
This commit is contained in:
@@ -1,5 +1,25 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 3.2.1
|
||||
|
||||
Upgrade priority: Low. Recommended for users of parachains.
|
||||
|
||||
Contributed:
|
||||
|
||||
- Adjust metadata `.asV12` type signature (Thanks to https://github.com/yjhmelody)
|
||||
|
||||
Changes:
|
||||
|
||||
- Add `api.{errors, events, query, tx}.<section>.<name>.is(...)`
|
||||
- Remove support for staking pre Substrate 2.0
|
||||
- Add all frontier types & RPCs
|
||||
- Support `AccountInfo` with new provider/consumer refCount structure
|
||||
- Additional Cumulus parachain types
|
||||
- Consistently format number JSON based on bitLength
|
||||
- Cleanup metadata -> api dependencies
|
||||
- Update `@polkadot/util` to 5.2.1
|
||||
|
||||
|
||||
## 3.1.1 Dec 20, 2020
|
||||
|
||||
Upgrade priority: Low. Recommended for users of parachains.
|
||||
|
||||
@@ -222,8 +222,8 @@ const types: DefinitionsTypes = {
|
||||
logsBloom: 'EthBloom'
|
||||
},
|
||||
EthWork: {
|
||||
pow_hash: 'H256',
|
||||
seed_hash: 'H256',
|
||||
powHash: 'H256',
|
||||
seedHash: 'H256',
|
||||
target: 'H256',
|
||||
number: 'Option<u64>'
|
||||
}
|
||||
|
||||
@@ -123,6 +123,15 @@ export const rpc: DefinitionsRpc = {
|
||||
],
|
||||
type: 'Vec<EthLog>'
|
||||
},
|
||||
getProof: {
|
||||
description: 'Returns proof for account and storage.',
|
||||
params: [
|
||||
{ name: 'address', type: 'H160' },
|
||||
{ name: 'storageKeys', type: 'Vec<H256>' },
|
||||
{ name: 'number', type: 'BlockNumber' }
|
||||
],
|
||||
type: 'EthAccount'
|
||||
},
|
||||
getStorageAt: {
|
||||
description: 'Returns content of the storage at given address.',
|
||||
params: [
|
||||
|
||||
Reference in New Issue
Block a user