You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contract gets deployed to the same address over and over again, but all the times except the first TON CLI does nothing (because the address is already initialized)
Address of smart contract in TON is calculated by StateInit hash, which includes code, data & libs. If you don't change data / code / libs you will get the same address.
If you want to save same code and data but deploy on new address, add now 32 u, in data.fif.
Bug Type
Functional
Reproduction steps
toncli deploy
toncli deploy
againActual result
The contract gets deployed to the same address over and over again, but all the times except the first TON CLI does nothing (because the address is already initialized)
Expected result
The contract deploys to a new address every time
Suggested Severity
High
Device
Additional Context
No response
The text was updated successfully, but these errors were encountered: