ever-cli icon indicating copy to clipboard operation
ever-cli copied to clipboard

Failed to set initial data: Invalid version: Provided ABI version is not supported (2.3)

Open ilyar opened this issue 3 years ago • 0 comments

Create key pair

tonos-cli getkeypair alice.json "can any ask question test test test test test test test test"

Code

pragma ever-solidity >= 0.64.0;
abstract contract Nonce {
    uint public static _nonce;
}
contract Foo is Nonce {}

Compile

https://github.com/EverscaleGuild/ever-solidity/releases/tag/0.66.0

sold -V
sold 0.66.0+commit.ce436293.mod.Linux.g++
sold Foo.sol

Calculate address

tonos-cli genaddr --setkey alice.json Foo.tvc Foo.abi.json --data '{"_nonce": 0}'
Config: default
Input arguments:
     tvc: Foo.tvc
      wc: None
    keys: alice.json
init_data: {"_nonce": 0}
is_update_tvc: None
Error: cannot generate address: Invalid TVC image: Failed to set initial data: Invalid version: Provided ABI version is not supported (2.3)
Error: 1

Note

for solc v 0.64.0 all ok

ilyar avatar Oct 28 '22 02:10 ilyar