-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I have some questions about the task submission process.
-
When I run
devkit avs call, is it callingTaskMailBoxcontract? -
why in the example on website, the call is
devkit avs call -- signature="(uint256,string)" args='(5,"hello")', whileHelloWorld.solfunctions take as input only a string? -
I am going through the hourglass template, and in cmd/main.go I see
HandleTaskfunction, with inputt *performerV1.TaskRequest, which is defined as
type TaskRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskId []byte `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}
from what I see, Payload is Abi encoded, for the example on the github with hello world, this is abi encoding of (5, "hello") arguments?
- And does anyone has a sample go function that actually does something (like squaring a number) and return it? It would be helpful for me.
Metadata
Metadata
Assignees
Labels
No labels