Skip to content

Commit e913bf1

Browse files
gtreptarv-jenkins
authored andcommitted
Fix rlp encoding of topics (#588)
1 parent d8920f0 commit e913bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ Helper Funcs
16031603
requires TOPICS =/=K .List
16041604
16051605
rule #rlpEncodeTopicsAux( .List ) => ""
1606-
rule #rlpEncodeTopicsAux( ListItem( X:Int ) TOPICS ) => #rlpEncodeWord( X ) +String #rlpEncodeTopicsAux( TOPICS )
1606+
rule #rlpEncodeTopicsAux( ListItem( X:Int ) TOPICS ) => #rlpEncodeBytes( X, 32 ) +String #rlpEncodeTopicsAux( TOPICS )
16071607
```
16081608

16091609
State Root

0 commit comments

Comments
 (0)