Skip to content

Commit

Permalink
#52 Implement create-start-evm Subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
mich-master committed Jul 14, 2022
1 parent f04c760 commit 1fa141f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion launch-script/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ impl<'a> Configuration<'a> {
}

pub fn get_owner_address(&self, account_owner: &AccountOwner) -> Result<Pubkey, ScriptError> {
use std::str::FromStr;
match account_owner {
AccountOwner::MainGovernance => {
let realm = Realm::new(
Expand Down
7 changes: 2 additions & 5 deletions launch-script/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ pub enum StateError {
#[error("ConfigError {0:?}")]
ConfigError(String),

#[error("Invalid voter list")]
InvalidVoterList,
#[error("Invalid voter list: {0:?}")]
InvalidVoterList(String),

#[error("Missing EVM loader at address {0:?}")]
MissingEvmLoader(Pubkey),
Expand Down Expand Up @@ -127,9 +127,6 @@ pub enum StateError {

#[error("Wrong EVM loader buffer code hash")]
WrongCodeHash,

#[error("Invalid voter list: {0:?}")]
InvalidVoterList(String),
}

/// Errors that may be returned by the neon-cli program.
Expand Down

0 comments on commit 1fa141f

Please sign in to comment.