-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
I decided to remove |
Can you tell us why you want to remove it? What's wrong with it? |
it unsafely |
|
||
/// Enact the block given by `block_bytes` using `engine` on the database `db` with given `parent` block header | ||
fn enact_bytes( | ||
block_bytes: &[u8], | ||
block_bytes: Vec<u8>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain the motivation behind using a Vec
instead of a Slice
here?
Vec
is less efficient (syscall overhead) and consumes more memory (3 words instead of 2)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like test functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah lol thanks, never mind 😃
* master: evmbin: Fix gas_used issue in state root mismatch and handle output better (#9418) Update hardcoded sync (#9421) Add block reward contract config to ethash and allow off-chain contracts (#9312) Private packets verification and queue refactoring (#8715) Update tobalaba.json (#9419) docs: add parity ethereum logo to readme (#9415) build: update rocksdb crate (#9414) Updating the CI system (#8765) Better support for eth_getLogs in light mode (#9186) Add update docs script to CI (#9219) `gasleft` extern implemented for WASM runtime (kip-6) (#9357) block view! removal in progress (#9397) Prevent sync restart if import queue full (#9381) nonroot CentOS Docker image (#9280) ethcore: kovan: delay activation of strict score validation (#9406)
No description provided.