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

feat: add prophet adapters (wip) #1880

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elsvv
Copy link

@elsvv elsvv commented Sep 8, 2024

No description provided.

@llamatester
Copy link

The prophet-protocol adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees prophet-protocol

🦙 Running PROPHET-PROTOCOL adapter 🦙
---------------------------------------------------
Start Date:	Sat, 07 Sep 2024 00:00:00 GMT
End Date:	Sun, 08 Sep 2024 00:00:00 GMT
---------------------------------------------------

TypeError: Cannot read properties of undefined (reading 'toString')
    at fetch (/home/runner/work/dimension-adapters/dimension-adapters/fees/prophet-protocol/index.ts:14:38)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:49:18)
    at async Promise.all (index 0)
    at async runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:27:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'ton'
}

@llamatester
Copy link

The prophet-protocol adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts options prophet-protocol

🦙 Running PROPHET-PROTOCOL adapter 🦙
---------------------------------------------------
Start Date:	Sat, 07 Sep 2024 00:00:00 GMT
End Date:	Sun, 08 Sep 2024 00:00:00 GMT
---------------------------------------------------

Error: [ton]Value: [object Object] 0 is NaN
    at getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:68:49)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:27:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:75:21 {
  chain: 'ton'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants