You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add executable examples for all opcodes (#100)
* Add basic highligths for Mnemonic, and run code as a transaction to have a balance
* Change precompile code examples to links
* Read the state even when the state returns an error to display cost and return value
* Fix search for opcode or address
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1z0z0twwy2v32%200xsssszt'~uuuuzv1%201y%2F%2F%20Example%20w%5CnvwPUSHuFFtwADDs~~%01stuvwyz~_).
25
+
24
26
## Error cases
25
27
26
28
The state changes done by the current context are [reverted](#FD) in those cases:
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1z10z10twwy2v32%200xssssz2t'~uuuuzv1%20y%2F%2F%20Example%20w%5CnvwPUSHuFFtwMULs~~%01stuvwyz~_).
30
+
29
31
## Error cases
30
32
31
33
The state changes done by the current context are [reverted](#FD) in those cases:
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1vvszzy2wrFwrEs'~uuuz%5Cny%2F%2F%20Example%20wt32%200xr~vt1%2010uFFFtzPUSHszSDIVr~~~%01rstuvwyz~_).
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1s3s10tzzy2wrDwr8t'~uuuz%5Cny%2F%2F%20Example%20wv32%200xr~vzPUSHuFFFtzSMODsv1%20r~~~%01rstuvwyz~_).
34
+
33
35
## Error cases
34
36
35
37
The state changes done by the current context are [reverted](#FD) in those cases:
Copy file name to clipboardexpand all lines: docs/opcodes/08.mdx
+2
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ All intermediate calculations of this operation are not subject to the 2<sup>256
27
27
|`2`|`10`|| * |`2`|`2`||
28
28
|`3`|`8`|| * |`2`|`2`||
29
29
30
+
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1z8z10z10vwwy2z2z2u32%200xssssv'~ttttzu1%20y%2F%2F%20Example%20w%5CnvwADDMODuwPUSHtFFs~~%01stuvwyz~_).
31
+
30
32
## Error cases
31
33
32
34
The state changes done by the current context are [reverted](#FD) in those cases:
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1v8v10v10twwy2v12usust'~rrrrzwPUSHy%2F%2F%20Example%20w%5Cnvz1%20uz32%200xstwMULMODs~~~~rFF%01rstuvwyz~_).
31
+
30
32
## Error cases
31
33
32
34
The state changes done by the current context are [reverted](#FD) in those cases:
[Reproduce in playground](/playground?unit=Wei&codeType=Mnemonic&code='y1z9v32%200xsssstwwy2z10z10t'~uuuuzv1%20y%2F%2F%20Example%20w%5CnvwPUSHuFFtwSLTs~~%01stuvwyz~_).
29
+
28
30
## Error cases
29
31
30
32
The state changes done by the current context are [reverted](#FD) in those cases:
0 commit comments