Skip to content

Commit 4510160

Browse files
authored
Merge pull request #40 from paritytech/mj/benchmark-update
Minor updates to token_benchmark
2 parents 1450a7e + 4bb80b5 commit 4510160

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ You can install it by running:
99
curl -fsSL https://deno.land/install.sh | sh
1010
```
1111

12+
## ink! notes
13+
14+
If you are unable to compile ink contracts and encounter the following issue:
15+
16+
```
17+
error: panic_immediate_abort is now a real panic strategy!
18+
```
19+
20+
please try using Rust toolchain version 1.91.1, as newer toolchains may trigger this issue due to changes in panic strategy handling.
21+
1222
# Building contracts
1323

1424
We can now compile the contracts located in the `contracts/` directory:

utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export async function createEnv({
171171
transactionHash: Hex,
172172
) {
173173
return client.request({
174-
method: 'substrate_postDispatchWeight' as never,
174+
method: 'polkadot_postDispatchWeight' as never,
175175
params: [
176176
transactionHash,
177177
],

0 commit comments

Comments
 (0)