Open AigaD opened 5 months ago
Tested from: https://portalbridge.com/ Tested OK. User is able to send 0.001 W (solana) from Solana (Solflare) to Base (Metamask) using Automatic Native token transfer route
Attachment:
Checked on wormhole-connect-mainnet (Connect v2) and https://portalbridge.com/.
Sending 0.001 SOL from Solana (Nightly) to Sui (Sui).
Error message in console:
Wormhole Connect: error completing transfer
Error: Simulation failed: {"InstructionError":[1,{"Custom":1}]}
Logs:
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]
Program log: Instruction: Approve
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2903 of 400000 compute units
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success
Program wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb invoke [1]
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]
Program log: Instruction: Burn
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4790 of 362751 compute units
Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success
Program 11111111111111111111111111111111 invoke [2]
Program 11111111111111111111111111111111 success
Program worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth invoke [2]
Program log: Sequence: 933367
Program 11111111111111111111111111111111 invoke [3]
Transfer: insufficient lamports 2009076, need 2477760
Program 11111111111111111111111111111111 failed: custom program error: 0x1
Program worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth consumed 18438 of 347208 compute units
Program worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth failed: custom program error: 0x1
Program wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb consumed 68327 of 397097 compute units
Program wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb failed: custom program error: 0x1
at Tt (solana-CI9LWdVg.js:2:52115)
at async he (solana-CI9LWdVg.js:2:50974)
at async signAndSendTransaction (main-B5BQWVC9.js:273:62073)
at async SDKv2Signer.signAndSend (main-B5BQWVC9.js:280:202769)
at async ssw (main-B5BQWVC9.js:245:7760)
at async signSendWait (main-B5BQWVC9.js:245:7467)
at async TokenBridgeRoute.initiate (main-B5BQWVC9.js:245:48200)
at async SDKv2Route.send (main-B5BQWVC9.js:280:207173)
at async Operator.send (main-B5BQWVC9.js:280:211649)
at async ft (main-B5BQWVC9.js:313:65845)
Reopening the issue.
Attachments:
Precondition: Solflare connected at sending From section Metamask connected at sending To section
Environment: OS: macOS Sonoma 14.4.1 Browser: Chrome Version 121.0.6167.85
Tested from: https://preview.portalbridge.com/ed4e22522f/
Steps:
Actual result: Pop-up
Simulation failed Balance changes are unknown. Proceed with caution and make sure you trust this transaction.
with unknown balance changes are shown and when user selects "I trust this transaction" and click approves, transaction fails, reasonWalletSendTransactionError: Transaction cancelled
Expected result: Transaction is started
Attachment:
https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/38c838d0-9540-4785-b08c-2c57b5ef73bf