-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update with new genesis + remove alias
- Loading branch information
1 parent
4577f70
commit 2e38800
Showing
23 changed files
with
161 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ use namada::types::key::*; | |
use namada::types::time::{DateTimeUtc, DurationSecs}; | ||
use namada::types::token::Denomination; | ||
use namada::types::{storage, token}; | ||
use namada_sdk::proof_of_stake::types::ValidatorMetaData; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
#[cfg(all(any(test, feature = "benches"), not(feature = "integration")))] | ||
|
@@ -392,6 +391,10 @@ pub fn make_dev_genesis( | |
commission_rate: Dec::new(5, 2).expect("This can't fail"), | ||
max_commission_rate_change: Dec::new(1, 2) | ||
.expect("This can't fail"), | ||
email: "[email protected]".to_string(), | ||
description: None, | ||
website: None, | ||
discord_handle: None, | ||
net_address: SocketAddr::new( | ||
IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), | ||
8080, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -617,6 +617,10 @@ fn init_validator(c: &mut Criterion) { | |
dkg_key, | ||
commission_rate: namada::types::dec::Dec::default(), | ||
max_commission_rate_change: namada::types::dec::Dec::default(), | ||
email: "[email protected]".to_string(), | ||
description: None, | ||
website: None, | ||
discord_handle: None, | ||
validator_vp_code_hash: extra_hash, | ||
}; | ||
let tx = generate_tx( | ||
|
@@ -664,7 +668,6 @@ fn change_validator_metadata(c: &mut Criterion) { | |
email: None, | ||
description: Some("I will change this piece of data".to_string()), | ||
website: None, | ||
alias: None, | ||
discord_handle: None, | ||
commission_rate: None, | ||
}; | ||
|
Oops, something went wrong.