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

Associate Token Accounts Example fails to execute #474

Open
CarterDev90 opened this issue Dec 27, 2024 · 0 comments
Open

Associate Token Accounts Example fails to execute #474

CarterDev90 opened this issue Dec 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@CarterDev90
Copy link

Describe the bug
Fails to complete

To Reproduce
Run the assocaite account example

Expected behavior
The example associate account should complete

  • Latest Solnet exaples from github
  • OS: Windows 11
  • .net9

Additional context
Logs:

0
21:21:47 info: Solnet.Rpc.IRpcClient[0]                                      
      Sending request: {"method":"getLatestBlockhash","jsonrpc":"2.0","id":0}
21:21:48 info: Solnet.Rpc.IRpcClient[0]
      Result: {"jsonrpc":"2.0","result":{"context":{"apiVersion":"2.1.6","slot":309167288},"value":{"blockhash":"254c2eHqgad6ySpzWzWHkNfEqqqLv9PdA4DC5xXe8JUi","lastValidBlockHeight":268554761}},"id":0}

21:21:49 info: Solnet.Rpc.IRpcClient[1]
      Sending request: {"method":"getMinimumBalanceForRentExemption","params":[165],"jsonrpc":"2.0","id":1}
21:21:49 info: Solnet.Rpc.IRpcClient[1]
      Result: {"jsonrpc":"2.0","result":2039280,"id":1}

21:21:49 info: Solnet.Rpc.IRpcClient[2]
      Sending request: {"method":"getMinimumBalanceForRentExemption","params":[82],"jsonrpc":"2.0","id":2}
21:21:49 info: Solnet.Rpc.IRpcClient[2]
      Result: {"jsonrpc":"2.0","result":1461600,"id":2}

MinBalanceForRentExemption Account >> 2039280
MinBalanceForRentExemption Mint Account >> 1461600
OwnerAccount: ADnpucFi3xJ22obtBZvaJQGWjDxuh85v4KKzew4osehS
MintAccount: CewXTvfgWxgrt5DfbaVcVENEjDcBeyaaK8o26WXipxW
InitialAccount: BJDKvZ5BTgHboojiPEnSAf3PxwwLdJJy3ZrtRhm4LYRv
Tx Data: A2u9aJEgpm87x+i06LG+0MQjcQmt2HRyWW4KbKWXJ7GwqQ/9CcPw48tEWkJNACk7L7JAvNdayo4ytCMivxeZLAwL0exLEI/YifOl3leu+epenG7H5ZxMFLT814rEjYkkg3Bul+tTErElcj6xu4sPUVtvP3cp9erEgJdUiwrDwp4Iz0Kj6F8Qwm/1R2l6SPpzlDuafGnJnR9dVM/yEC/XlSUfZl6W+uB0oXX9SGenPDlCRA5+cIvJirH1hDaYjyL/BgMABAeI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37Zj9riyth9raryT3rthn35gyTdFwRuk2uGkquvVwSf+pA
vxJs5uUW8qq0BftZtzadLpzr6ZIs7k+EVYK0T3uj1cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVKU1D4XciC1hSlVnJ4iilt3x6rq9CmBniISTL07vagBqfVFxksXFEhjMlMPUrxf1ja7gibof1E49vZigAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQ/mFcwuv/rqXeNg2lYrPUIBg98gBJtiYdXmWXGW1WGTBgMCAAI0AAAAAGBNFgAAAAAAUgAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYCAgVDAAKI//e38soIFHbyJwk
iGIeFqo50qN2x6aMDrl8HK/g37QGI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37QMCAAE0AAAAAPAdHwAAAAAApQAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYEAQIABQEBBgMCAQAJB0BCDwAAAAAABAEBEkhlbGxvIGZyb20gU29sLk5ldA==
21:21:49 info: Solnet.Rpc.IRpcClient[0]
      Sending request: {"method":"simulateTransaction","params":["A2u9aJEgpm87x\u002Bi06LG\u002B0MQjcQmt2HRyWW4KbKWXJ7GwqQ/9CcPw48tEWkJNACk7L7JAvNdayo4ytCMivxeZLAwL0exLEI/YifOl3leu\u002BepenG7H5ZxMFLT814rEjYkkg3Bul\u002BtTErElcj6xu4sPUVtvP3cp9erEgJdUiwrDwp4Iz0Kj6F8Qwm/1R2l6SPpzlDuafGnJnR9dVM/yEC/XlSUfZl6W\u002BuB0oXX9SGenPDlCRA5\u002BcIvJirH1hDaYjyL/BgMABA
eI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37Zj9riyth9raryT3rthn35gyTdFwRuk2uGkquvVwSf\u002BpAvxJs5uUW8qq0BftZtzadLpzr6ZIs7k\u002BEVYK0T3uj1cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVKU1D4XciC1hSlVnJ4iilt3x6rq9CmBniISTL07vagBqfVFxksXFEhjMlMPUrxf1ja7gibof1E49vZigAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQ/mFcwuv/rqXeNg2lYrPUIBg98gBJtiYdXmWXGW1WGTBgMCAA
I0AAAAAGBNFgAAAAAAUgAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYCAgVDAAKI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37QGI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37QMCAAE0AAAAAPAdHwAAAAAApQAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYEAQIABQEBBgMCAQAJB0BCDwAAAAAABAEBEkhlbGxvIGZyb20gU29sLk5ldA==",{"encoding":"base64"}],"jsonrpc":"2.0","id":0}    
21:21:50 info: Solnet.Rpc.IRpcClient[0]
      Result: {"jsonrpc":"2.0","result":{"context":{"apiVersion":"2.1.6","slot":309167290},"value":{"accounts":null,"err":"AccountNotFound","innerInstructions":null,"logs":[],"replacementBlockhash":null,"returnData":null,"unitsConsumed":0}},"id":0}

Transaction Simulation:
        Error: Solnet.Rpc.Models.TransactionError
        Logs:

21:21:50 info: Solnet.Rpc.IRpcClient[1]
      Sending request: {"method":"sendTransaction","params":["A2u9aJEgpm87x\u002Bi06LG\u002B0MQjcQmt2HRyWW4KbKWXJ7GwqQ/9CcPw48tEWkJNACk7L7JAvNdayo4ytCMivxeZLAwL0exLEI/YifOl3leu\u002BepenG7H5ZxMFLT814rEjYkkg3Bul\u002BtTErElcj6xu4sPUVtvP3cp9erEgJdUiwrDwp4Iz0Kj6F8Qwm/1R2l6SPpzlDuafGnJnR9dVM/yEC/XlSUfZl6W\u002BuB0oXX9SGenPDlCRA5\u002BcIvJirH1hDaYjyL/BgMABAeI//
e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37Zj9riyth9raryT3rthn35gyTdFwRuk2uGkquvVwSf\u002BpAvxJs5uUW8qq0BftZtzadLpzr6ZIs7k\u002BEVYK0T3uj1cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVKU1D4XciC1hSlVnJ4iilt3x6rq9CmBniISTL07vagBqfVFxksXFEhjMlMPUrxf1ja7gibof1E49vZigAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQ/mFcwuv/rqXeNg2lYrPUIBg98gBJtiYdXmWXGW1WGTBgMCAAI0AA
AAAGBNFgAAAAAAUgAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYCAgVDAAKI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37QGI//e38soIFHbyJwkiGIeFqo50qN2x6aMDrl8HK/g37QMCAAE0AAAAAPAdHwAAAAAApQAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQYEAQIABQEBBgMCAQAJB0BCDwAAAAAABAEBEkhlbGxvIGZyb20gU29sLk5ldA==",{"encoding":"base64"}],"jsonrpc":"2.0","id":1}        
21:21:50 info: Solnet.Rpc.IRpcClient[1]
      Result: {"jsonrpc":"2.0","error":{"code":-32003,"message":"Transaction signature verification failure"},"id":1}

Tx Signature: 
21:21:50 info: Solnet.Rpc.IRpcClient[2]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":2}
21:21:50 info: Solnet.Rpc.IRpcClient[2]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":2}

21:21:55 info: Solnet.Rpc.IRpcClient[3]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":3}
21:21:55 info: Solnet.Rpc.IRpcClient[3]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":3}

21:22:00 info: Solnet.Rpc.IRpcClient[4]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":4}
21:22:01 info: Solnet.Rpc.IRpcClient[4]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":4}

21:22:06 info: Solnet.Rpc.IRpcClient[5]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":5}
21:22:07 info: Solnet.Rpc.IRpcClient[5]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":5}

21:22:12 info: Solnet.Rpc.IRpcClient[6]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":6}
21:22:17 info: Solnet.Rpc.IRpcClient[6]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":6}

21:22:22 info: Solnet.Rpc.IRpcClient[7]
      Sending request: {"method":"getTransaction","params":[{"encoding":"json","maxSupportedTransactionVersion":0}],"jsonrpc":"2.0","id":7}
21:22:22 info: Solnet.Rpc.IRpcClient[7]
      Result: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: invalid type: map, expected a string."},"id":7}
@CarterDev90 CarterDev90 added the bug Something isn't working label Dec 27, 2024
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

2 participants