fix reference to contracts
@@ -81,11 +81,14 @@ func Test_Deployment(t *testing.T) {
})
t.Run("Remove deployment contract", func(t *testing.T) {
+ copyContracts := make([]ContractDeployment, len(contracts))
+ copy(copyContracts, contracts)
+
deployments := &Deployments{
Deployment{
Network: "test-network",
Account: "test-account",
- Contracts: contracts,
+ Contracts: copyContracts,
},
}
