Skip to content
Snippets Groups Projects
Commit f6b12212 authored by Éloïs's avatar Éloïs
Browse files

tests(end2end): upgrade metadata

parent cd171db4
No related branches found
No related tags found
1 merge request!44ref(pallet-ud): remove params UdFirstReeval & UdReevalPeriodInBlocks
...@@ -72,7 +72,7 @@ async fn who_have(world: &mut DuniterWorld, who: String, amount: u64, unit: Stri ...@@ -72,7 +72,7 @@ async fn who_have(world: &mut DuniterWorld, who: String, amount: u64, unit: Stri
.api .api
.storage() .storage()
.universal_dividend() .universal_dividend()
.current_ud_storage(None) .current_ud(None)
.await?; .await?;
amount = (amount * current_ud_amount) / 1_000; amount = (amount * current_ud_amount) / 1_000;
} }
...@@ -144,7 +144,7 @@ async fn current_ud_amount_should_be( ...@@ -144,7 +144,7 @@ async fn current_ud_amount_should_be(
.api .api
.storage() .storage()
.universal_dividend() .universal_dividend()
.current_ud_storage(None) .current_ud(None)
.await?; .await?;
assert_eq!(actual, expected); assert_eq!(actual, expected);
Ok(()) Ok(())
...@@ -157,7 +157,7 @@ async fn monetary_mass_should_be(world: &mut DuniterWorld, amount: u64, cents: u ...@@ -157,7 +157,7 @@ async fn monetary_mass_should_be(world: &mut DuniterWorld, amount: u64, cents: u
.api .api
.storage() .storage()
.universal_dividend() .universal_dividend()
.monetary_mass_storage(None) .monetary_mass(None)
.await?; .await?;
assert_eq!(actual, expected); assert_eq!(actual, expected);
Ok(()) Ok(())
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment