EOSIO / eosio.contracts

Smart contracts that provide some of the basic functions of the EOSIO blockchain
https://eosio.github.io/eosio.contracts/latest
MIT License
325 stars 574 forks source link

eosio powerup ABI type is invalid #589

Open pur3miish opened 2 years ago

pur3miish commented 2 years ago

Description

On the eosio contract the powerup action ABI states net_frac: int64 cpu_frac: int64 stating that the data type is int64, however when interacting with the function from within the smart contract it requires us to use an unsigned integer uint64_t to power up, this has a discrepancy between working from within the smart contract and when serialising data type to send over RPC_URL.

Screen Shot 2022-06-30 at 8 13 52 am

I am looking for some clarification and the motivation behind this.