Tags: MammothsTeeth/Wood
Tags
fix: use pwasm-utils 0.18 for more correct stack accounting (near#6051) This forward-ports the change from 1.23.1 We upgrade our version of pwasm-utils -- the old one severely undercounted stack usage in some cases. As this is a protocol change, we keep the old implementation around Test Plan ========= * added test for stack overflow behavior for the bad case * added test for protocol upgrade related to stack overflow * fuzzed new pwasm utils implementation locally, confirmed that it only differs for calls which stack overflow
crates.io snapshot --- - near-account-id - https://crates.io/crates/near-account-id/0.11.0 - near-chain-configs - https://crates.io/crates/near-chain-configs/0.11.0 - near-chain-primitives - https://crates.io/crates/near-chain-primitives/0.11.0 - near-chunks-primitives - https://crates.io/crates/near-chunks-primitives/0.11.0 - near-client-primitives - https://crates.io/crates/near-client-primitives/0.11.0 - near-crypto - https://crates.io/crates/near-crypto/0.11.0 - near-jsonrpc-primitives - https://crates.io/crates/near-jsonrpc-primitives/0.11.0 - near-metrics - https://crates.io/crates/near-metrics/0.11.0 - near-network-primitives - https://crates.io/crates/near-network-primitives/0.11.0 - near-primitives - https://crates.io/crates/near-primitives/0.11.0 - near-primitives-core - https://crates.io/crates/near-primitives-core/0.11.0 - near-rpc-error-core - https://crates.io/crates/near-rpc-error-core/0.11.0 - near-rpc-error-macro - https://crates.io/crates/near-rpc-error-macro/0.11.0 - near-vm-errors - https://crates.io/crates/near-vm-errors/0.11.0 - near-vm-logic - https://crates.io/crates/near-vm-logic/0.11.0
crates.io snapshot --- - near-account-id - https://crates.io/crates/near-account-id/0.10.0 - near-chain-configs - https://crates.io/crates/near-chain-configs/0.10.0 - near-chain-primitives - https://crates.io/crates/near-chain-primitives/0.10.0 - near-chunks-primitives - https://crates.io/crates/near-chunks-primitives/0.10.0 - near-client-primitives - https://crates.io/crates/near-client-primitives/0.10.0 - near-crypto - https://crates.io/crates/near-crypto/0.10.0 - near-jsonrpc-primitives - https://crates.io/crates/near-jsonrpc-primitives/0.10.0 - near-metrics - https://crates.io/crates/near-metrics/0.10.0 - near-network-primitives - https://crates.io/crates/near-network-primitives/0.10.0 - near-primitives - https://crates.io/crates/near-primitives/0.10.0 - near-primitives-core - https://crates.io/crates/near-primitives-core/0.10.0 - near-rpc-error-core - https://crates.io/crates/near-rpc-error-core/0.10.0 - near-rpc-error-macro - https://crates.io/crates/near-rpc-error-macro/0.10.0 - near-vm-errors - https://crates.io/crates/near-vm-errors/0.10.0 - near-vm-logic - https://crates.io/crates/near-vm-logic/0.10.0
PreviousNext