diff --git a/README.md b/README.md index 488ac0f..466acd1 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,16 @@ You can install it by running: curl -fsSL https://deno.land/install.sh | sh ``` +## ink! notes + +If you are unable to compile ink contracts and encounter the following issue: + +``` +error: panic_immediate_abort is now a real panic strategy! +``` + +please try using Rust toolchain version 1.91.1, as newer toolchains may trigger this issue due to changes in panic strategy handling. + # Building contracts We can now compile the contracts located in the `contracts/` directory: diff --git a/utils/index.ts b/utils/index.ts index 3097387..1c892ff 100644 --- a/utils/index.ts +++ b/utils/index.ts @@ -171,7 +171,7 @@ export async function createEnv({ transactionHash: Hex, ) { return client.request({ - method: 'substrate_postDispatchWeight' as never, + method: 'polkadot_postDispatchWeight' as never, params: [ transactionHash, ],