Skip to content

Commit

Permalink
Merge pull request #138 from jurteam/main
Browse files Browse the repository at this point in the history
Merge back main to staging
  • Loading branch information
Polkaverse authored Aug 24, 2023
2 parents b4ae82c + d7d41bc commit 19a083c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pallets/passport/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ benchmarks! {
)
verify {
assert_last_event::<T>(Event::<T>::MintedPassport(
<T as pallet::Config>::Helper::passport(3200)
<T as pallet::Config>::Helper::passport(4851)
).into());
}

Expand All @@ -104,7 +104,7 @@ benchmarks! {
}: _(RawOrigin::Signed(member), community_id, bounded_passport_address)
verify {
assert_last_event::<T>(Event::<T>::UpdatedPassport(
<T as pallet::Config>::Helper::passport(3200)
<T as pallet::Config>::Helper::passport(4851)
).into());
}

Expand Down
2 changes: 1 addition & 1 deletion pallets/passport/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn mint_passport_works_for_founder() {
add_founder();
create_community();
assert_ok!(Passport::mint(RuntimeOrigin::signed(1), 1));
assert_eq!(Passports::<Test>::get(1, 1).unwrap().id, 3200);
assert_eq!(Passports::<Test>::get(1, 1).unwrap().id, 4851);
create_community();
assert_ok!(Passport::mint(RuntimeOrigin::signed(1), 2));
assert_eq!(Passports::<Test>::get(2, 1).unwrap().id, 1);
Expand Down
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 113,
spec_version: 105,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -338,7 +338,7 @@ impl pallet_sudo::Config for Runtime {
parameter_types! {
pub Prefix: &'static [u8] = b"My JUR address is ";
pub const NativeCurrencyId: CurrencyId = NATIVE_CURRENCY_ID;
pub const EthAddress: EthereumAddress = EthereumAddress(hex!("37abc97DD3dA0b81fe635e35Ea1655A15FfF4d76"));
pub const EthAddress: EthereumAddress = EthereumAddress(hex!("D77229999a1ca62b5bfb2735BaC12069b3794c44"));
}

/// Configure the pallet-token-swap in pallets/token-swap.
Expand Down

0 comments on commit 19a083c

Please sign in to comment.