I'm trying to deploy INK 4.0 smart contract with cargo-contract 2.0 beta to a network but I'm getting the following error contracts.CodeRejected
.
Whenever i try to upload the contract to my local substrate node I'm getting the following error:
StorageDepositLimitExhausted, More storage was created than allowed by the storage deposit limit.
As mentioned, I'm using INK 4.0 beta and cargo-contracts 2.0 beta. I've tried compiling the following ways:
cargo contract build --optimization-passes=0
cargo contract build
I'm using MacBook pro M1 pro chip using MacOs Ventura (13.0.1 (22A400))
Thank you very much :)
cargo-contracts 2.0 beta
and uploaded but haven't faced any issue. there is same issue as yourscontracts.CodeRejected
but it's on ink 3.3.0cargo contract build