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

Remove S2S RPCs #915

Merged
merged 2 commits into from
Jul 12, 2022
Merged

Remove S2S RPCs #915

merged 2 commits into from
Jul 12, 2022

Conversation

fewensa
Copy link
Contributor

@fewensa fewensa commented Jun 29, 2022

Per title

@fewensa fewensa marked this pull request as ready for review July 12, 2022 04:11
@github-actions
Copy link

github-actions bot commented Jul 12, 2022

Commit 74c9137

Crab

Check Runtime Version

Runtime Version {
	spec_name: Crab
	impl_name: Darwinia Crab
	authoring_version: 0
-	spec_version: 1224
+	spec_version: 1230
	impl_version: 0
	transaction_version: 0
}​

Check Storage Prefix

Pallet Balances:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 167, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 160, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet DarwiniaHeaderMMR:
- 	Entry: StorageEntryMetadata { name: "MigrationStep", modifier: Default, ty: Plain(UntrackedSymbol { id: 4, marker: PhantomData }), default: [244, 1, 0, 0], docs: [" Migration step."] }

Pallet ImOnline:
+ 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 74, marker: PhantomData }, value: UntrackedSymbol { id: 349, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }
- 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 74, marker: PhantomData }, value: UntrackedSymbol { id: 340, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }

Pallet Kton:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 167, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 160, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet Session:
+ 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 292, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The vec is always kept sorted so that we can find whether a given validator is", " disabled using binary search. It gets cleared when `on_session_ending` returns", " a new set of identities."] }
- 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 285, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The set is cleared when `on_session_ending` returns a new set of identities."] }

Pallet Staking:
+ 	Entry: StorageEntryMetadata { name: "OffendingValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 312, marker: PhantomData }), default: [0], docs: [" Indices of validators that have offended in the active era and whether they are currently", " disabled.", "", " This value should be a superset of disabled validators since not all offences lead to the", " validator being disabled (if there was no slash). This is needed to track the percentage of", " validators that have offended in the current era, ensuring a new era is forced if", " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", " whether a given validator has previously offended using binary search. It gets cleared when", " the era ends."] }

+ Pallet: "ToCrabParachainBacking"​

Darwinia

Check Runtime Version

Runtime Version {
	spec_name: Darwinia
	impl_name: Darwinia
	authoring_version: 0
-	spec_version: 1224
+	spec_version: 1230
	impl_version: 0
	transaction_version: 0
}​

Check Storage Prefix

Pallet Balances:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 181, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 164, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

+ Pallet: "BaseFee"

Pallet DarwiniaHeaderMMR:
- 	Entry: StorageEntryMetadata { name: "MigrationStep", modifier: Default, ty: Plain(UntrackedSymbol { id: 4, marker: PhantomData }), default: [244, 1, 0, 0], docs: [" Migration step."] }

+ Pallet: "EVM"

+ Pallet: "Ethereum"

Pallet ImOnline:
+ 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 75, marker: PhantomData }, value: UntrackedSymbol { id: 339, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }
- 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 75, marker: PhantomData }, value: UntrackedSymbol { id: 320, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }

Pallet Kton:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 181, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 164, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet Session:
+ 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 282, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The vec is always kept sorted so that we can find whether a given validator is", " disabled using binary search. It gets cleared when `on_session_ending` returns", " a new set of identities."] }
- 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 265, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The set is cleared when `on_session_ending` returns a new set of identities."] }

Pallet Staking:
+ 	Entry: StorageEntryMetadata { name: "OffendingValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 302, marker: PhantomData }), default: [0], docs: [" Indices of validators that have offended in the active era and whether they are currently", " disabled.", "", " This value should be a superset of disabled validators since not all offences lead to the", " validator being disabled (if there was no slash). This is needed to track the percentage of", " validators that have offended in the current era, ensuring a new era is forced if", " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", " whether a given validator has previously offended using binary search. It gets cleared when", " the era ends."] }​
Commit 7096132

Crab

Check Runtime Version

Runtime Version {
	spec_name: Crab
	impl_name: Darwinia Crab
	authoring_version: 0
-	spec_version: 1224
+	spec_version: 1230
	impl_version: 0
	transaction_version: 0
}​

Check Storage Prefix

Pallet Balances:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 167, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 160, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet DarwiniaHeaderMMR:
- 	Entry: StorageEntryMetadata { name: "MigrationStep", modifier: Default, ty: Plain(UntrackedSymbol { id: 4, marker: PhantomData }), default: [244, 1, 0, 0], docs: [" Migration step."] }

Pallet ImOnline:
+ 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 74, marker: PhantomData }, value: UntrackedSymbol { id: 349, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }
- 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 74, marker: PhantomData }, value: UntrackedSymbol { id: 340, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }

Pallet Kton:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 167, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 160, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet Session:
+ 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 292, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The vec is always kept sorted so that we can find whether a given validator is", " disabled using binary search. It gets cleared when `on_session_ending` returns", " a new set of identities."] }
- 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 285, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The set is cleared when `on_session_ending` returns a new set of identities."] }

Pallet Staking:
+ 	Entry: StorageEntryMetadata { name: "OffendingValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 312, marker: PhantomData }), default: [0], docs: [" Indices of validators that have offended in the active era and whether they are currently", " disabled.", "", " This value should be a superset of disabled validators since not all offences lead to the", " validator being disabled (if there was no slash). This is needed to track the percentage of", " validators that have offended in the current era, ensuring a new era is forced if", " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", " whether a given validator has previously offended using binary search. It gets cleared when", " the era ends."] }

+ Pallet: "ToCrabParachainBacking"​

Darwinia

Check Runtime Version

Runtime Version {
	spec_name: Darwinia
	impl_name: Darwinia
	authoring_version: 0
-	spec_version: 1224
+	spec_version: 1230
	impl_version: 0
	transaction_version: 0
}​

Check Storage Prefix

Pallet Balances:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 181, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 164, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

+ Pallet: "BaseFee"

Pallet DarwiniaHeaderMMR:
- 	Entry: StorageEntryMetadata { name: "MigrationStep", modifier: Default, ty: Plain(UntrackedSymbol { id: 4, marker: PhantomData }), default: [244, 1, 0, 0], docs: [" Migration step."] }

+ Pallet: "EVM"

+ Pallet: "Ethereum"

Pallet ImOnline:
+ 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 75, marker: PhantomData }, value: UntrackedSymbol { id: 339, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }
- 	Entry: StorageEntryMetadata { name: "ReceivedHeartbeats", modifier: Optional, ty: Map { hashers: [Twox64Concat, Twox64Concat], key: UntrackedSymbol { id: 75, marker: PhantomData }, value: UntrackedSymbol { id: 320, marker: PhantomData } }, default: [0], docs: [" For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to", " `WrapperOpaque<BoundedOpaqueNetworkState>`."] }

Pallet Kton:
+ 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 181, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }
- 	Entry: StorageEntryMetadata { name: "Locks", modifier: Default, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData }, value: UntrackedSymbol { id: 164, marker: PhantomData } }, default: [0], docs: [" Any liquidity locks on some account balances.", " NOTE: Should only be accessed when setting, changing and freeing a lock."] }

Pallet Session:
+ 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 282, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The vec is always kept sorted so that we can find whether a given validator is", " disabled using binary search. It gets cleared when `on_session_ending` returns", " a new set of identities."] }
- 	Entry: StorageEntryMetadata { name: "DisabledValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 265, marker: PhantomData }), default: [0], docs: [" Indices of disabled validators.", "", " The set is cleared when `on_session_ending` returns a new set of identities."] }

Pallet Staking:
+ 	Entry: StorageEntryMetadata { name: "OffendingValidators", modifier: Default, ty: Plain(UntrackedSymbol { id: 302, marker: PhantomData }), default: [0], docs: [" Indices of validators that have offended in the active era and whether they are currently", " disabled.", "", " This value should be a superset of disabled validators since not all offences lead to the", " validator being disabled (if there was no slash). This is needed to track the percentage of", " validators that have offended in the current era, ensuring a new era is forced if", " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", " whether a given validator has previously offended using binary search. It gets cleared when", " the era ends."] }​

@aurexav aurexav changed the title Remove useless rpc Remove S2S RPCs Jul 12, 2022
@aurexav aurexav merged commit 99fd469 into main Jul 12, 2022
@aurexav aurexav deleted the fewensa-code-clean branch July 12, 2022 04:36
boundless-forest pushed a commit that referenced this pull request Aug 1, 2023
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.88...v1.0.89)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done/No Companion
Development

Successfully merging this pull request may close these issues.

2 participants