Skip to content

Commit

Permalink
fix from review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone authored and tzemanovic committed Oct 27, 2023
1 parent 45f547c commit 8f941d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ethereum_bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ tracing = "0.1.30"
[dev-dependencies]
# Added "testing" feature.
namada_core = {path = "../core", default-features = false, features = ["ferveo-tpke", "ethers-derive", "testing"]}
namada_proof_of_stake = {path = "../proof_of_stake", default-features = false, features = ["testing"]}
assert_matches.workspace = true
data-encoding.workspace = true
ethabi.workspace = true
Expand Down
1 change: 1 addition & 0 deletions proof_of_stake/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ pub struct ValidatorMetaData {
pub discord_handle: Option<String>,
}

#[cfg(any(test, feature = "testing"))]
impl Default for ValidatorMetaData {
fn default() -> Self {
Self {
Expand Down
3 changes: 1 addition & 2 deletions sdk/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,7 @@ pub async fn build_validator_metadata_change<'a>(
edisplay_line!(
context.io(),
"Cannot remove a validator's email, which was implied by the \
string {}",
email
empty string"
);
return Err(Error::from(TxError::InvalidEmail));
}
Expand Down

0 comments on commit 8f941d2

Please sign in to comment.