mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
This reverts commit 6ee39261c8.
This commit is contained in:
@@ -24,7 +24,6 @@ rustversion = "1.0.0"
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.0"
|
||||
substrate-test-runtime-client = { version = "2.0.0-dev", path = "../../../test-utils/runtime/client" }
|
||||
sp-core = { version = "2.0.0-alpha.1", path = "../../core" }
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
|
||||
@@ -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