This project aims to scale the Ethereum Name Service (ENS) by consolidating existing patterns and proofs of concept into a unified and production-ready codebase.
let callData
if (multicall) {
callData = message.parameters[0].value as `0x${string}`
} else {
callData = encodeFunctionData({
abi: dbABI,
functionName: message.functionSelector,
args: message.parameters.map((arg) => arg.value),
})
}
This happens because of a limitation of the EIP-5559 due to an intermediary structure called parameters that has key and value both as strings to store function arguments.
Describe Preferred Solution
Find a way to handle the multicall the same way as the other calls so the client doesn't need to implement specific handling.
Refactor Request
Describe the Refactor Request
The current
multicall
implementation required an specific handling on the client side:client handling:
This happens because of a limitation of the EIP-5559 due to an intermediary structure called
parameters
that haskey
andvalue
both as strings to store function arguments.Describe Preferred Solution
Find a way to handle the
multicall
the same way as the other calls so the client doesn't need to implement specific handling.Describe Alternatives
change EIP-5559
Related Code
Additional Context