I'm trying to configure communication between a web front end and a deployed Ethereum contract (on Rinkeby). I'm trying to call a simple method that updates a value, which looks something like this:
uint public value;
function someFunction(uint newValue) public {
value = newValue;
}
And I'm calling the function like this from the client:
myContract.methods.someFunction(newValue).send({
from: myAccount,
});
When MetaMask pops up, it says "UNKNOWN FUNCTION" above the value to be sent to the client (it's also doing this when I try to call methods that actually require ether value). Is there any way to address the issue? It seems that this would probably be distressing for users if actual ether were involved.