Problem
When updating a contract, Flow CLI demands a deployment parameter even though the contract is not being reinitialized
Steps to Reproduce
- Deploy a contract with an init arg such as
access(all) contract A {
init(i: Int) {}
}
- Make a change to the contract and attempt to update the contract
access(all) contract A {
access(all) fun foo() { return }
init(i: Int) {}
}
- Flow CLI will result in the following error
❌ Command Error: provided arguments length mismatch, required arguments 1, but provided 0
Acceptance Criteria
Can update contracts without including initialization args.
Context
Deploying VM bridge contracts to Testnet.
Problem
When updating a contract, Flow CLI demands a deployment parameter even though the contract is not being reinitialized
Steps to Reproduce
Acceptance Criteria
Can update contracts without including initialization args.
Context
Deploying VM bridge contracts to Testnet.