1

Can I make a dynamic bytes array in vyper?

Something like:

checkData: DynArray[Bytes, 32]

For example, for create a function with the same function signature as a solidity func:

function checkUpkeep(bytes calldata checkData) external {

Resulting signature:

checkUpkeep(bytes)

1 Answer 1

1

Their technically isn't a dynamic bytes array in vyper, but if you want the match function signatures, you'd just do a Bytes array.

def checkUpkeep(checkData: Bytes[32])

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.