Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Europa/contracts/enhance error handling #16

Merged
merged 45 commits into from
Jan 8, 2021

Conversation

JNhua
Copy link

@JNhua JNhua commented Dec 31, 2020

No description provided.

athei and others added 30 commits November 24, 2020 12:30
This avoids the need to manually store any trap reasons
to the `Runtime` from the host function. This adds the following
benefits:

* It properly composes with the upcoming chain extensions
* Missing to set a trap value is now a compile error
The chain extension is a way for the contract author to add new
host functions for contracts to call.
Not all offsets where properly updated when changing the fixtures
for the new salt on instantiate.
…e_error_handling

# Conflicts:
#	Cargo.lock
#	frame/contracts/Cargo.toml
#	frame/contracts/src/wasm/mod.rs
#	frame/contracts/src/wasm/runtime.rs
Base automatically changed from europa/at-chain-extension to europa-contracts January 7, 2021 07:00
…e_error_handling

# Conflicts:
#	Cargo.lock
#	frame/contracts/Cargo.toml
#	frame/contracts/src/exec.rs
#	frame/contracts/src/tests.rs
…andling

# Conflicts:
#	Cargo.lock
#	frame/contracts/Cargo.toml
#	frame/contracts/src/wasm/runtime.rs
@atenjin atenjin merged commit 3624deb into europa-contracts Jan 8, 2021
@atenjin atenjin deleted the europa/contracts/enhance_error_handling branch January 8, 2021 09:06
@atenjin
Copy link
Member

atenjin commented Jan 13, 2021

link to this issue paritytech#5239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants