Skip to content

action return incorrect int64_t value #579

@quocle108

Description

@quocle108

I expected to receive an action value is -90909090909090909. But the action return the value is -90909090909090910

  [[eosio::action]] int64_t getvalue2() {
        int64_t value = -90909090909090909;
        eosio::print("getvalue2: ", value);
        return value;
  }

You can reproduce this issue through this repo https://github.com/quocle108/return-error

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions