Add 'data' param to EIP-1559 to allow contract calls#9
Add 'data' param to EIP-1559 to allow contract calls#9albydarned wants to merge 3 commits intoaws-samples:mainfrom
Conversation
|
@albydarned Just wondering — while adding support for the In practice, many developers may find it difficult to manually prepare ABI-encoded calldata when invoking the Lambda function. Unless the caller has tooling to encode Would it make sense to consider a higher-level abstraction (e.g., providing Curious to hear your thoughts — thanks again! |
|
Hey there! Yes, I think that makes sense. Especially if the goal of this is to abstract some of the more complicated stuff away. I can try to make this abstraction, but right now I don't need it so it might not happen soon. I think I have made a few other modifications along these lines, I will make another PR if I find them to be useful to everyone. Mostly just more parameters, like the ability to change the chain id etc. Thanks! |
Issue #, if available:
Description of changes:
This is a very simple change that adds a 'data' param to the EIP-1559 lambda function so contract calls can be made. Thank you very much for this example, it was extremely helpful.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.