Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reverted some minor changes
  • Loading branch information
arkpar committed Jan 7, 2019
commit 070f73f783643c7f046a0e5ad139b75fe3a0ac17
2 changes: 1 addition & 1 deletion core/state-machine/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl<H: Hasher> TestExternalities<H> where H::Out: HeapSizeOf {
&mut overlay,
inner.get(&CHANGES_TRIE_CONFIG.to_vec()).cloned(),
false,
).expect("changes trie configuration is correct in test env; qed");
).expect("changes trie configuration is correct in test env; qed");

TestExternalities {
inner,
Expand Down
2 changes: 1 addition & 1 deletion node/executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ mod tests {
assert_eq!(Balances::total_balance(&bob()), 69);
});

WasmExecutor::new().call(&mut t, 8, COMPACT_CODE,"Core_execute_block", &block2().0).unwrap();
WasmExecutor::new().call(&mut t, 8, COMPACT_CODE, "Core_execute_block", &block2().0).unwrap();

runtime_io::with_externalities(&mut t, || {
assert_eq!(Balances::total_balance(&alice()), 30);
Expand Down
2 changes: 1 addition & 1 deletion node/runtime/wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if cargo --version | grep -q "nightly"; then
else
CARGO_CMD="cargo +nightly"
fi
$CARGO_CMD rustc --target=wasm32-unknown-unknown --release -- -Z print-link-args -C link-arg='-z stack-size=65536'
$CARGO_CMD build --target=wasm32-unknown-unknown --release
for i in node_runtime
do
wasm-gc target/wasm32-unknown-unknown/release/$i.wasm target/wasm32-unknown-unknown/release/$i.compact.wasm
Expand Down