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

trust-wallet #2279

Merged
merged 3 commits into from
Jan 4, 2025
Merged

trust-wallet #2279

merged 3 commits into from
Jan 4, 2025

Conversation

dtmkeng
Copy link
Contributor

@dtmkeng dtmkeng commented Jan 3, 2025

No description provided.

@llamabutler
Copy link

The trust-wallet.ts adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees trust-wallet.ts

🦙 Running TRUST-WALLET.TS adapter 🦙
---------------------------------------------------
Start Date:	Thu, 02 Jan 2025 14:23:33 GMT
End Date:	Fri, 03 Jan 2025 14:23:33 GMT
---------------------------------------------------

Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
TypeError: invalid BytesLike value (argument="value", value=[ "0xD37BbE5744D730a1d98d8DC97c42F0Ca46aD7146" ], code=INVALID_ARGUMENT, version=6.13.2)
    at makeError (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at _getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:44:19)
    at getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:55:12)
    at zeroPad (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:155:19)
    at Object.zeroPadValue (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:184:12)
    at addTokensReceived (/home/runner/work/dimension-adapters/dimension-adapters/helpers/token.ts:96:53)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0) {
  code: 'INVALID_ARGUMENT',
  argument: 'value',
  value: [ '0xD37BbE5744D730a1d98d8DC97c42F0Ca46aD7146' ],
  shortMessage: 'invalid BytesLike value',
  chain: 'ethereum'
}

@llamabutler
Copy link

The trust-wallet.ts adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees trust-wallet.ts

🦙 Running TRUST-WALLET.TS adapter 🦙
---------------------------------------------------
Start Date:	Thu, 02 Jan 2025 15:24:44 GMT
End Date:	Fri, 03 Jan 2025 15:24:44 GMT
---------------------------------------------------

Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
TypeError: invalid BytesLike value (argument="value", value=[ "0xD37BbE5744D730a1d98d8DC97c42F0Ca46aD7146" ], code=INVALID_ARGUMENT, version=6.13.2)
    at makeError (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at _getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:44:19)
    at getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:55:12)
    at zeroPad (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:155:19)
    at Object.zeroPadValue (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:184:12)
    at addTokensReceived (/home/runner/work/dimension-adapters/dimension-adapters/helpers/token.ts:96:53)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0) {
  code: 'INVALID_ARGUMENT',
  argument: 'value',
  value: [ '0xD37BbE5744D730a1d98d8DC97c42F0Ca46aD7146' ],
  shortMessage: 'invalid BytesLike value',
  chain: 'ethereum'
}
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set

@llamabutler
Copy link

The trust-wallet.ts adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees trust-wallet.ts

🦙 Running TRUST-WALLET.TS adapter 🦙
---------------------------------------------------
Start Date:	Thu, 02 Jan 2025 16:02:38 GMT
End Date:	Fri, 03 Jan 2025 16:02:38 GMT
---------------------------------------------------

Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
TypeError: invalid BytesLike value (argument="value", value=[  ], code=INVALID_ARGUMENT, version=6.13.2)
    at makeError (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:687:21)
    at assert (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:715:25)
    at assertArgument (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/errors.ts:727:5)
    at _getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:44:19)
    at getBytes (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:55:12)
    at zeroPad (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:155:19)
    at Object.zeroPadValue (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/ethers/src.ts/utils/data.ts:184:12)
    at addTokensReceived (/home/runner/work/dimension-adapters/dimension-adapters/helpers/token.ts:96:53)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0) {
  code: 'INVALID_ARGUMENT',
  argument: 'value',
  value: [],
  shortMessage: 'invalid BytesLike value',
  chain: 'arbitrum'
}
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set
Token transfers: Failed to use indexer, falling back to logs Llama Indexer URL not set

@dtmkeng dtmkeng marked this pull request as ready for review January 4, 2025 04:13
@dtmkeng dtmkeng changed the title [WIP] trust-wallet trust-wallet Jan 4, 2025
@dtmkeng dtmkeng merged commit f51d7e1 into master Jan 4, 2025
2 checks passed
@dtmkeng dtmkeng deleted the trust-wallet branch January 4, 2025 04:14
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