quilt / ease Goto Github PK
View Code? Open in Web Editor NEWEE Testing Framework
License: Apache License 2.0
EE Testing Framework
License: Apache License 2.0
Probably an easy fix:
Line 48 in 6fea8e4
It would be cool if we could remove the need for this boilerplate code to be added each time:
#[no_mangle]
pub extern "C" fn main() {
let input_size = unsafe { native::eth2_blockDataSize() as usize };
let mut input = [0u8; 64000];
unsafe {
native::eth2_blockDataCopy(input.as_mut_ptr() as *const u32, 0, input_size as u32);
}
let mut pre_state_root = [0u8; 32];
unsafe { native::eth2_loadPreStateRoot(pre_state_root.as_mut_ptr() as *const u32) }
let post_root = entry(&mut input, &pre_state_root);
unsafe { native::eth2_savePostStateRoot(post_root.as_ptr() as *const u32) }
}
I think this should be doable, we should be able to inject it in the wasm binary that the engine receives. It should probably be configurable whether or not you want to wrap the deployed code with it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.