-
Notifications
You must be signed in to change notification settings - Fork 105
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(ethexe): add getters for *.sol
contract interfaces on Rust side
#4441
base: master
Are you sure you want to change the base?
Conversation
*.sol
contract interfaces on Rust side
.map_err(Into::into) | ||
} | ||
|
||
pub async fn validate_codes_count(&self) -> Result<U256> { |
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.
pub async fn validate_codes_count(&self) -> Result<U256> { | |
pub async fn validated_codes_count(&self) -> Result<U256> { |
.map_err(Into::into) | ||
} | ||
|
||
pub async fn program_code_ids(&self, program_ids: Vec<ProgramId>) -> Result<Vec<CodeId>> { |
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.
pub async fn program_code_ids(&self, program_ids: Vec<ProgramId>) -> Result<Vec<CodeId>> { | |
pub async fn programs_code_ids(&self, program_ids: Vec<ProgramId>) -> Result<Vec<CodeId>> { |
@@ -267,4 +271,76 @@ impl RouterQuery { | |||
let code_id = Some(CodeId::new(code_id._0.0)).filter(|&code_id| code_id != CodeId::zero()); | |||
Ok(code_id) | |||
} | |||
|
|||
pub async fn signing_threshold_percentage(&self) -> Result<u16> { |
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.
It'd be better to sort them for better navigation
@breathx