Skip to content

Commit

Permalink
fix extension_id in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
indirection42 committed Jun 25, 2024
1 parent 36801e0 commit 3c0d9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcq-extension/tests/extension_executor_works.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ fn call_core_works() {
let mut executor = ExtensionsExecutor::<Extensions, ()>::new(InvokeSource::RuntimeAPI);
let guest = GuestImpl { program: blob.to_vec() };
let method = CoreMethod::HasExtension { id: 0 };
let mut input_data = 0u64.encode();
let mut input_data = 16086776565154421753u64.encode();
input_data.extend_from_slice(&method.encode());
let input = InputImpl {
method: "main".to_string(),
Expand All @@ -137,7 +137,7 @@ fn call_fungibles_works() {
let mut executor = ExtensionsExecutor::<Extensions, ()>::new(InvokeSource::RuntimeAPI);
let guest = GuestImpl { program: blob.to_vec() };
let method = FungiblesMethod::TotalSupply { asset: 1u64 };
let mut input_data = 1u64.encode();
let mut input_data = 18438207628271534596u64.encode();
input_data.extend_from_slice(&method.encode());
let input = InputImpl {
method: "main".to_string(),
Expand Down

0 comments on commit 3c0d9b4

Please sign in to comment.