metaspan / solana-docker-mac-m1

Docker config for Mac M1, to support development on Solana
MIT License
35 stars 11 forks source link

Problem with anchor deploy #1

Open travisgerrard opened 2 years ago

travisgerrard commented 2 years ago

Trying to deploy anchor app to solana-test-validator run-in in the docker it gets stuck. It counts up all the transactions then restarts and says it will retry. Everything else seems to be working ok.

Deploying workspace: http://127.0.0.1:8899 Upgrade authority: /Users/travisgerrard/.config/solana/id.json Deploying program "mysolanaapp"... Program path: /Users/travisgerrard/Documents/Apps/web3/mysolanaapp/target/deploy/mysolanaapp.so... ⠒ [0/175] Transactions confirmed. Retrying in 259 blocks

Solana logs looks like the following

RPC URL: http://localhost:8899 Default Signer Path: /root/.config/solana/id.json Commitment: confirmed Streaming transaction logs. Confirmed commitment Transaction executed in slot 7678: Signature: w5MYEkWoLvRLgauyaveftogEq9UFKYw5rsKTsAkRnu8fWKHLWU8PdrXm7axgw19BJ7h4qi3GaXhSAi7bCppYQq2 Status: Ok Log Messages: Program 11111111111111111111111111111111 invoke [1] Program 11111111111111111111111111111111 success

Any idea how to fix this issue?

dcolley commented 2 years ago

This issue is related https://github.com/solana-labs/solana/issues/18033 which refers to https://github.com/qmonnet/rbpf/issues/48

raphtlw commented 1 year ago

This Dockerfile is no longer working. I continued the author's legacy and managed to build a working multipurpose solana container that can be used as either a regular solana cluster or for local development purposes using the test validator. You can check it out here: https://github.com/raphtlw/solana-docker-mac-m1