diff --git a/src/incentives.rs b/src/incentives.rs index 7d614f72..541639e3 100644 --- a/src/incentives.rs +++ b/src/incentives.rs @@ -3,6 +3,7 @@ use crate::{ app::Nom, error::{Error, Result}, }; +use orga::migrate::MigrateFrom; use orga::{ coins::{Address, Amount, Coin, Take}, collections::{ChildMut, Map}, @@ -17,11 +18,27 @@ pub struct Incentives { accounts: Map
, } -#[orga] +#[orga(version = 1)] pub struct Account { + #[orga(version(V0))] + testnet_participation: Coin