Skip to content

Commit 0e1bd21

Browse files
committed
Fix precompile to have unique id
1 parent c888f20 commit 0e1bd21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contract-tests/src/contracts/votingPower.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const IVOTING_POWER_ADDRESS = "0x0000000000000000000000000000000000000806";
1+
export const IVOTING_POWER_ADDRESS = "0x000000000000000000000000000000000000080c";
22

33
export const IVotingPowerABI = [
44
{

precompiles/src/voting_power.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ where
1818
R: frame_system::Config + pallet_subtensor::Config,
1919
R::AccountId: From<[u8; 32]> + ByteArray,
2020
{
21-
const INDEX: u64 = 2054;
21+
const INDEX: u64 = 2060;
2222
}
2323

2424
#[precompile_utils::precompile]

0 commit comments

Comments
 (0)