Skip to content

Remove unneeded nightly feature#94

Closed
matklad wants to merge 9 commits intoaurora-is-near:masterfrom
matklad:stable-intrinsic
Closed

Remove unneeded nightly feature#94
matklad wants to merge 9 commits intoaurora-is-near:masterfrom
matklad:stable-intrinsic

Conversation

@matklad
Copy link
Copy Markdown
Contributor

@matklad matklad commented May 18, 2021

On wasm, intrinsic for trap unreachable is stable and exposed via
core::arch, no need for a nightly feature.

Wasn't able to verify if this compiles due to #93.

mfornet and others added 3 commits May 13, 2021 00:22
* Base precompile code between connectors

* Handle errors and validate input

* Use proper result
@matklad matklad requested a review from artob as a code owner May 18, 2021 09:54
Comment thread src/lib.rs
@matklad matklad force-pushed the stable-intrinsic branch from 4c19d36 to 8cdcbed Compare May 18, 2021 10:39
birchmd added 4 commits May 19, 2021 01:33
* Validate register length in `read_input_arr20()`
* Only read register length in `Engine::get_code_size`
* Add `read_input_borsh()`
* Ensure `method.args.len() == args_decoded.len()`
* Ensure register size is 8 in `read_u64`
* Use constant to specify the register ID used in `read_input()`
Copy link
Copy Markdown
Contributor

@joshuajbouw joshuajbouw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@artob
Copy link
Copy Markdown
Contributor

artob commented May 20, 2021

@matklad @joshuajbouw Please retarget this at the develop branch, as per the README:
https://github.com/aurora-is-near/aurora-engine#branches

At the moment, running `cargo check` locally for me:

* fails with some compilation error in the dependency
* updates Cargo.lock

That is, the Cargo.lock that is committed into the repo doesn't work. To
prevent this from happening in the future, let's forbid CI from
upgrading Cargo.lock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants