-
Notifications
You must be signed in to change notification settings - Fork 462
Closed
Labels
Any APIenhancementEnhance existing content or processesEnhance existing content or processesevmpull request pendingPR pending to fix this bug.PR pending to fix this bug.
Description
The API reference here: https://docs.chain.link/docs/chainlink-framework/
Should be updated with an example of passing in an address in the request.
It's currently not clear how to do this. Passing an address as a uint will not work: smartcontractkit/chainlink#4064
Talked to Steve about this, and the recommended way should be something along the lines of:
req.addBytes('someAddress', abi.encodePacked(address(this)));We should show this in the docs and make it the recommended way to do this. The only caveat here is that the value received on the CL node/external adapter will be a full word with leading zeroes, encoded with base64.
Metadata
Metadata
Assignees
Labels
Any APIenhancementEnhance existing content or processesEnhance existing content or processesevmpull request pendingPR pending to fix this bug.PR pending to fix this bug.