Skip to content

Commit 9dbac1a

Browse files
authored
Correct gas cost for 'log' instruction in README
Updated gas cost for 'log' instruction from 0 to 10 as per JIP-1.
1 parent 1d635e0 commit 9dbac1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

traces/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The gas cost for a single instruction is set to **$1$**
2323

2424
All host calls have a gas cost of **$10$**, with the following exceptions:
2525
- **`transfer`**: Gas cost is set to **$10 + \omega_9$**, as specified in the GP.
26-
- **`log`**: Gas cost is set to **0**, as defined in [JIP-1](https://hackmd.io/@polkadot/jip1).
26+
- **`log`**: Gas cost is set to **10**, as defined in [JIP-1](https://github.com/polkadot-fellows/JIPs/blob/main/JIP-1.md).
2727

2828
## Vectors
2929

0 commit comments

Comments
 (0)