I am trying to wrap my head around all this and am looking for someone to help clarify.
Lets say I have the following:
contract Test {
public c = 3;
function A(uint a) returns(uint){
uint b = a - c;
return b;
}
function B() returns(uint){
return b + a;
}
}
Now I have found a bug in my code and function A
should be this:
contract Test {
public c = 3;
function A(uint a) returns(uint){
uint b = a - C();
return b;
}
function B() returns(uint){
return b + a;
}
function C() returns(uint) {
return c * 2;
}
}
Would this work in with upgrading proxy?