mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
This reverts commit 6ee39261c8.
This commit is contained in:
@@ -164,12 +164,6 @@ fn record_proof_works() {
|
||||
let block_id = BlockId::Number(client.chain_info().best_number);
|
||||
let storage_root = longest_chain.best_chain().unwrap().state_root().clone();
|
||||
|
||||
let runtime_code = sp_core::traits::RuntimeCode {
|
||||
code: client.code_at(&block_id).unwrap(),
|
||||
hash: vec![1],
|
||||
heap_pages: None,
|
||||
};
|
||||
|
||||
let transaction = Transfer {
|
||||
amount: 1000,
|
||||
nonce: 0,
|
||||
@@ -198,6 +192,5 @@ fn record_proof_works() {
|
||||
&executor,
|
||||
"Core_execute_block",
|
||||
&block.encode(),
|
||||
&runtime_code,
|
||||
).expect("Executes block while using the proof backend");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user