Skip to content

Run CI against Solana 3.0.4#22

Open
Daniel Milnes (thebeanogamer) wants to merge 14 commits into
masterfrom
sol3
Open

Run CI against Solana 3.0.4#22
Daniel Milnes (thebeanogamer) wants to merge 14 commits into
masterfrom
sol3

Conversation

@thebeanogamer

Copy link
Copy Markdown
Member

It's a new major release of Solana, we should probably run all the tests against it

@thebeanogamer

Copy link
Copy Markdown
Member Author

Seems like we have a lot of missing parameters on SimulateTransactionResponseDTO

(8 known properties: "err", "accounts", "unitsConsumed", "replacementBlockhash", "returnData", "innerInstructions", "logs", "fee"])
{
  "jsonrpc" : "2.0",
  "result" : {
    "context" : {
      "apiVersion" : "3.0.4",
      "slot" : 1912
    },
    "value" : {
      "accounts" : null,
      "err" : null,
      "fee" : 10000,
      "innerInstructions" : null,
      "loadedAccountsDataSize" : 684192,
      "loadedAddresses" : {
        "readonly" : [ ],
        "writable" : [ ]
      },
      "logs" : [ "Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb invoke [1]", "Program log: Instruction: MintTo", "Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb consumed 1038 of 200000 compute units", "Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb success" ],
      "postBalances" : [ 980000, 0, 500000, 400000, 1141440 ],
      "postTokenBalances" : [ {
        "accountIndex" : 3,
        "mint" : "2tokpcExDmewsSNRKuTLVLMUseiSkEdBQWBjeQLmuFaS",
        "owner" : "7H1itW7F72uJbaXK2R4gP7J18HrQ2M683kL9YgUeeUHr",
        "programId" : "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
        "uiTokenAmount" : {
          "amount" : "20",
          "decimals" : 18,
          "uiAmount" : 2.0E-17,
          "uiAmountString" : "0.00000000000000002"
        }
      } ],
      "preBalances" : [ 990000, 0, 500000, 400000, 1141440 ],
      "preTokenBalances" : [ {
        "accountIndex" : 3,
        "mint" : "2tokpcExDmewsSNRKuTLVLMUseiSkEdBQWBjeQLmuFaS",
        "owner" : "7H1itW7F72uJbaXK2R4gP7J18HrQ2M683kL9YgUeeUHr",
        "programId" : "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
        "uiTokenAmount" : {
          "amount" : "10",
          "decimals" : 18,
          "uiAmount" : 1.0E-17,
          "uiAmountString" : "0.00000000000000001"
        }
      } ],
      "replacementBlockhash" : {
        "blockhash" : "2g4YBKFChTrYMMWcQSttBdVW4vH3vKhgPTwDQu86RWCz",
        "lastValidBlockHeight" : 2062
      },
      "returnData" : null,
      "unitsConsumed" : 1038
    }
  },
  "id" : 13
}

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