Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap & Bridge action issue #1523

Closed
ShahSujal opened this issue Dec 28, 2024 · 1 comment
Closed

Swap & Bridge action issue #1523

ShahSujal opened this issue Dec 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ShahSujal
Copy link

Bug Report

Describe the Bug

In the runtime.ts file located at packages\core\src\runtime.ts, the processActions function returns an empty options object during the execution of the EVM plugin of bridgeAction and SwapAction handlers, as the empty object does not contain the required information, leading to the failure of both the bridge and swap processes.


To Reproduce

  1. clone eliza main branch
  2. define WALLET_PUBLIC_KEY & WALLET_PRIVATE_KEY in .env
  3. Write prompt to swap 1 eth with 1 bsc or any chain swap or bridge
  4. After giving required details it will never execute your prompt it get an error cannot define toAddress and all details because its not composing actions

Screenshots

  1. Process Action
    path: packages\core\src\runtime.ts
    image
    returns empty object as Option

  2. Bridge Action handler
    path: packages\plugin-evm\src\actions\bridge.ts
    image
    transferring details of empty object details in bridge action

@ShahSujal
Copy link
Author

Fixed this issue with composing action with the required template

Bridge action
image

Swap action
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant