Skip to content

Commit

Permalink
Updates alias for masp native vp
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Nov 14, 2023
1 parent 2a12afe commit 86157b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/src/lib/wallet/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ mod dev {
("christel".into(), christel_address()),
("daewon".into(), daewon_address()),
("ester".into(), ester_address()),
("masp".into(), namada::types::address::MASP),
]
.into_iter()
.collect();
Expand Down
1 change: 1 addition & 0 deletions core/src/types/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ impl InternalAddress {
"ethbridge" => Some(InternalAddress::EthBridge),
"bridgepool" => Some(InternalAddress::EthBridgePool),
"governance" => Some(InternalAddress::Governance),
"masp" => Some(InternalAddress::Masp),
_ => None,
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/src/e2e/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,6 @@ pub mod constants {
pub const DAEWON_KEY: &str = "Daewon-key";
pub const ESTER: &str = "Ester";
pub const MATCHMAKER_KEY: &str = "matchmaker-key";
pub const MASP: &str = "tnam1q9lm5pvkxhnw9wwwhu33vkvtylwfkn5kw53xwud8";

// Shielded spending and viewing keys and payment addresses
pub const A_SPENDING_KEY: &str = "zsknam1qqqqqqqqqqqqqq9v0sls5r5de7njx8ehu49pqgmqr9ygelg87l5x8y4s9r0pjlvu69au6gn3su5ewneas486hdccyayx32hxvt64p3d0hfuprpgcgv2q9gdx3jvxrn02f0nnp3jtdd6f5vwscfuyum083cvfv4jun75ak5sdgrm2pthzj3sflxc0jx0edrakx3vdcngrfjmru8ywkguru8mxss2uuqxdlglaz6undx5h8w7g70t2es850g48xzdkqay5qs0yw06rtxc9q0cqr";
Expand All @@ -1115,6 +1114,7 @@ pub mod constants {

// Native VP aliases
pub const GOVERNANCE_ADDRESS: &str = "governance";
pub const MASP: &str = "masp";

// Fungible token addresses
pub const NAM: &str = "NAM";
Expand Down

0 comments on commit 86157b2

Please sign in to comment.