olifanton / ton

PHP SDK library for The Open Network blockchain
MIT License
39 stars 4 forks source link

Ability to use Deployer with a fresh wallet #3

Closed romanzaycev closed 1 year ago

romanzaycev commented 1 year ago

examples/deployer/deploy-wallet.php

(debug) External message construction for deploy Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2

Fatal error: Uncaught TypeError: Olifanton\Ton\Deployer::createExternal(): Argument #3 ($seqno) must be of type int, null given, called in /ton/src/Olifanton/Ton/Deployer.php on line 53 and defined in /ton/src/Olifanton/Ton/Deployer.php:155
Stack trace:
#0 /ton/src/Olifanton/Ton/Deployer.php(53): Olifanton\Ton\Deployer->createExternal(Object(Olifanton\Ton\DeployOptions), Object(Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2), NULL)
#1 /ton/examples/deployer/deploy-wallet.php(43): Olifanton\Ton\Deployer->deploy(Object(Olifanton\Ton\DeployOptions), Object(Olifanton\Ton\Contracts\Wallets\V4\WalletV4R2))
#2 {main}
  thrown in /ton/src/Olifanton/Ton/Deployer.php on line 155

Originally posted by @krigga in https://github.com/olifanton/ton/issues/1#issuecomment-1546099623