klaytn / rosetta-klaytn

Apache License 2.0
4 stars 6 forks source link

fix block hash error when basefee = 0 #141

Closed JayChoi1736 closed 2 years ago

JayChoi1736 commented 2 years ago

Fixes # . rosetta api doesn't work on cypress (86,816,005~99,841,496) after magma hardfork update, the RPC call fills the header of the blocks in the period with the Basefee value with 0, even though the field value is treated as nil when calculating the hash value of a block.