You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am encountering issues with bridging and swapping tokens using the plugin-evm. The only function that seems to be working correctly is the transfer function.
Can you confirm if the plugin swap and bridge functionality can be tested on a testnet like Sepolia or Base Sepolia? If not, is there an alternative way to test these functionalities before deploying to mainnet?
Error Details
SWAP Issue
[2025-02-04 15:24:28] ERROR: Error in swap handler: Address "ETH" is invalid.
- Address must be a hex value of 20 bytes (40 hex characters).
- Address must match its checksum counterpart.
Raw Call Arguments:
to: ETH
data: 0x313ce567
Contract Call:
address: ETH
function: decimals()
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
BRIDGE Issue
Received response from OpenAI model.
Bridge action handler called
[2025-02-04 15:27:25] ERROR:
err: {
"type": "TypeError",
"message": "Cannot read properties of undefined (reading 'default')",
"stack":
TypeError: Cannot read properties of undefined (reading 'default')
at file:///home/azan/Work/eliza/packages/plugin-evm/dist/index.js:362:63
at Array.map (<anonymous>)
at new BridgeAction (file:///home/azan/Work/eliza/packages/plugin-evm/dist/index.js:346:63)
at Object.handler (file:///home/azan/Work/eliza/packages/plugin-evm/dist/index.js:405:24)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async AgentRuntime.processActions (file:///home/azan/Work/eliza/packages/core/dist/index.js:37181:17)
at async file:///home/azan/Work/eliza/packages/client-direct/dist/index.js:4678:13
}
Steps to Reproduce:
Attempt to swap tokens.
Observe the invalid address error.
Attempt to bridge tokens.
Encounter the TypeError in the bridge action handler.
Expected Behavior:
The swap function should correctly identify and process token addresses.
The bridge function should handle actions without encountering undefined properties.
Environment Details:
Network: ** baseSepolia, Sepolia **
Any guidance on resolving these errors would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Hello @AzanAdnan23! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
Description:
I am encountering issues with bridging and swapping tokens using the
plugin-evm
. The only function that seems to be working correctly is the transfer function.Can you confirm if the plugin swap and bridge functionality can be tested on a testnet like Sepolia or Base Sepolia? If not, is there an alternative way to test these functionalities before deploying to mainnet?
Error Details
SWAP Issue
BRIDGE Issue
Steps to Reproduce:
Expected Behavior:
Environment Details:
Any guidance on resolving these errors would be greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: