Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Fix WASM Execution #879

Merged
merged 3 commits into from
Oct 21, 2021
Merged

Fix WASM Execution #879

merged 3 commits into from
Oct 21, 2021

Conversation

AurevoirXavier
Copy link
Member

@AurevoirXavier AurevoirXavier commented Oct 21, 2021

Proposing failed: ClientImport(
	RuntimeApiError(
		Application(
			Execution(
				Other(
					"Wasm execution trapped:
					wasm trap: out of bounds memory access
					wasm backtrace:    
						0: 0x12ab38 - <unknown>!pallet_session::historical::ProvingTrie<T>::generate_for::h3b8e607c714d13ce
						1: 0x11734b - <unknown>!<(TupleElement0,TupleElement1) as frame_support::traits::hooks::OnInitialize<BlockNumber>>::on_initialize::h8592203255e3a184
						2: 0x10d0e0 - <unknown>!frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPallets,COnRuntimeUpgrade>::initialize_block::h06d8223ffc8d1d3b
						3: 0x13901c - <unknown>!Core_initialize_block"
				)
			)
		)
	)
)   

@AurevoirXavier AurevoirXavier added B-Runtime [Bug] Some mistakes with the runtime logic N-Pangoro [Network] Pangoro labels Oct 21, 2021
@AurevoirXavier AurevoirXavier marked this pull request as draft October 21, 2021 08:15
@AurevoirXavier AurevoirXavier added B-Client [Bug] Some mistakes on client and removed B-Runtime [Bug] Some mistakes with the runtime logic labels Oct 21, 2021
@hackfisher
Copy link
Contributor

@fewensa reported that --chain pangolin-dev also have similar issues of

2021-10-21 16:07:30.003  INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: 🙌 Starting consensus session on top of parent 0x81d0be183fe0974e74584a3b03fc867c1f9eb46a15cbdec57ceac56b3fc9410a
2021-10-21 16:07:30.003 DEBUG tokio-runtime-worker wasm_overrides: No WASM override available for block BlockId::Hash(0x81d0be183fe0974e74584a3b03fc867c1f9eb46a15cbdec57ceac56b3fc9410a), using onchain code
2021-10-21 16:07:30.004  WARN tokio-runtime-worker babe: Proposing failed: ClientImport("RuntimeApiError(Application(Execution(Other(\"Wasm execution trapped: wasm trap: out of bounds memory access\\nwasm backtrace:\\n    0: 0x1b977f - <unknown>!pallet_session::historical::ProvingTrie<T>::generate_for::h26803e99c3c5a648\\n    1: 0x2f00d4 - <unknown>!<(TupleElement0,TupleElement1)

@AurevoirXavier AurevoirXavier marked this pull request as ready for review October 21, 2021 08:56
@AurevoirXavier AurevoirXavier added C-Dependency [Component] Something about dependency N-Pangolin [Network] Pangolin labels Oct 21, 2021
@AurevoirXavier AurevoirXavier changed the title Try Fix Pangoro Service Fix WASM Execution Oct 21, 2021
@AurevoirXavier AurevoirXavier marked this pull request as draft October 21, 2021 09:08
@github-actions

This comment has been minimized.

@AurevoirXavier AurevoirXavier added B-Runtime [Bug] Some mistakes with the runtime logic and removed B-Client [Bug] Some mistakes on client labels Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B-Runtime [Bug] Some mistakes with the runtime logic C-Dependency [Component] Something about dependency N-Pangolin [Network] Pangolin N-Pangoro [Network] Pangoro
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants