mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-16 18:19:40 +08:00
check registered key used is the same for all blocks
This commit is contained in:
@@ -148,6 +148,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 0);
|
||||
assert!(op.parent_vtxindex == 0);
|
||||
assert!(op.burn_fee == 5000);
|
||||
@@ -173,6 +174,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 203);
|
||||
assert!(op.burn_fee == 5000);
|
||||
}
|
||||
@@ -199,6 +201,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 204);
|
||||
assert!(op.burn_fee == 5000);
|
||||
}
|
||||
@@ -225,6 +228,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 205);
|
||||
assert!(op.burn_fee == 5000);
|
||||
}
|
||||
@@ -251,6 +255,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 206);
|
||||
assert!(op.burn_fee == 5000);
|
||||
}
|
||||
@@ -277,6 +282,7 @@ fn bitcoind_integration_test() {
|
||||
unreachable!();
|
||||
},
|
||||
LeaderBlockCommit(op) => {
|
||||
assert!(burnchain_tip.state_transition.consumed_leader_keys[0].public_key.to_hex() == "ff80684f3a5912662adbae013fb6521f10fb6ba7e4e60ccba8671b765cef8a34");
|
||||
assert!(op.parent_block_ptr == 207);
|
||||
assert!(op.burn_fee == 5000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user