Hello developers! What I am need to do with that error. I'm getting it on tonweb (js) when I'm deploying the contract
const deploy = wallet.deploy(keyPair.secretKey);
const deploySended = await deploy.send();
Error: Failed to unpack account state
Jan 15, 2023, 9:59 AM
Doesn't deploy use keyPair.publicKey as argument?
Jan 15, 2023, 10:17 AM
what's version of contract is using https://wallet.ton.org
Jan 15, 2023, 10:22 AM
I think that's v3R2 unless it has been updated since summer 2022.
Jan 15, 2023, 10:23 AM
k
I'm just getting different addresses
my code
let wallet = WalletContractV3R2.create({ workchain, publicKey: keyPair.publicKey });
let contract = client.open(wallet);
console.log(contract)
and I am getting an different addresses
let wallet = WalletContractV3R2.create({ workchain, publicKey: keyPair.publicKey });
let contract = client.open(wallet);
console.log(contract)
and I am getting an different addresses
can u help me?
bodybag of cells is expected to have exactly one root" what is it
Jan 15, 2023, 11:00 AM