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

Chore/get paused precompiles name #609

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion engine-tests/src/test_utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub(crate) const SUBMIT: &str = "submit";
pub(crate) const CALL: &str = "call";
pub(crate) const DEPLOY_ERC20: &str = "deploy_erc20_token";
pub(crate) const PAUSE_PRECOMPILES: &str = "pause_precompiles";
pub(crate) const PAUSED_PRECOMPILES: &str = "paused_precompiles";
pub(crate) const PAUSED_PRECOMPILES: &str = "get_paused_precompiles";
pub(crate) const RESUME_PRECOMPILES: &str = "resume_precompiles";

pub(crate) mod erc20;
Expand Down
2 changes: 1 addition & 1 deletion engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ mod contract {
/// Returns an unsigned integer where each 1-bit means that a precompile corresponding to that bit is paused and
/// 0-bit means not paused.
#[no_mangle]
pub extern "C" fn paused_precompiles() {
pub extern "C" fn get_paused_precompiles() {
let mut io = Runtime;
let pauser = EnginePrecompilesPauser::from_io(io);
let data = pauser.paused().bits().to_le_bytes();
Expand Down