-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
I'm currently working on a SmartContract that has the following method:
struct Color {
uint8 R;
uint8 G;
uint8 B;
}
function create(uint index, Color calldata backgroundColor, Color calldata textColor, uint number) {
....
}
I tried calling this function however web3 shows the following error:
> web3 contract call --address xxxxxx --abi Test.abi --function create 1 "[100, 12, 200]" "[50, 100, 10]" 1
ERROR: Error calling contract: unsupported input type (uint8,uint8,uint8)
Metadata
Metadata
Assignees
Labels
No labels