Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

related to the gasUsed --- Different behaviours between "aleth" and "go-ethereum" for the opcode "0xfd" #5905

@BattleBird

Description

@BattleBird

when we use ./aleth-vm_1.8.0 stats --code fd
the result is :
Screenshot from 2020-05-31 21-53-30
when we use evm 1.9.11 to run a piece of bytecode, the result is:
Screenshot from 2020-05-31 21-57-26
Whatever errors the aleth meets, it will used up all the gas provided for example, the 0xfd opcode, but the go-ethereum will refund the remaining gas to the user. Do you have any comments for this different behaviour? I think the aleth is not very user-friendly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions