-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
Test: Solana web3 js two dot oh #15536
base: develop
Are you sure you want to change the base?
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ac0b466 - Browse repository at this point
Copy the full SHA ac0b466View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40149a - Browse repository at this point
Copy the full SHA b40149aView commit details -
chore: Update the Solana types in
@trezor/blockchain-link-types
This change attempts to largely replicate the old account and transaction shapes, but also represents a breaking change as some of the old types (like `PublicKey`) no longer exist in `@solana/web3.js` version 2. Some type utilties were added so that we could source the _actual_ data shapes from the API calls themselves. For instance, we choose the return type that results from calling `getTransaction` with the config `"encoding": "jsonParsed"` _in particular_.
Configuration menu - View commit details
-
Copy full SHA for 2380149 - Browse repository at this point
Copy the full SHA 2380149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90f9e22 - Browse repository at this point
Copy the full SHA 90f9e22View commit details -
chore: Port
@trezor/blockchain-link
to@solana/web3.js
v21. Added an RPC subscriptions instance to the `API` type 2. Added code to throw in the event that the transaction is a durable nonce transaction. A little extra work would have to be done to import and construct the durable nonce transaction confirmer. 3. Added a `FIXME` explaining why it would be better to save the `lastValidBlockhash` at the time the transaction was first given a blockhash lifetime, instead of fetching a too-new one in `pushTransaction` 4. Eliminated all of the custom transaction confirmation code, in favour of the new built-in routines. 5. Added a `FIXME` to note that the `fetch()` API typically doesn't allow you to override the `Origin` header. I didn't test whether your runtime actually allows it or not. Note that all RPC methods are now cancellable via `AbortController`, if you supply an `AbortSignal` to the send/subscribe methods (ie. `.send({ abortSignal })`)
Configuration menu - View commit details
-
Copy full SHA for 3acd9ad - Browse repository at this point
Copy the full SHA 3acd9adView commit details -
chore: Port
@suite-common/wallet-core
and `@suite-common/wallet-uti……ls` to `@solana/web3.js` v2 1. Corrected a decimal amount in one of the fixtures. That `amount` field is denominated in basis points. 2. Deleted most of the custom transaction instruction formatting code, in favour of the new auto-generated program clients for the System, Compute Budget, and Token programs. 3. Added a note that `lastValidBlockHeight` is sometimes `undefined` in tests
Configuration menu - View commit details
-
Copy full SHA for 425d03d - Browse repository at this point
Copy the full SHA 425d03dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35393a8 - Browse repository at this point
Copy the full SHA 35393a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for abc9856 - Browse repository at this point
Copy the full SHA abc9856View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed171e3 - Browse repository at this point
Copy the full SHA ed171e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41a60d0 - Browse repository at this point
Copy the full SHA 41a60d0View commit details -
fixup! chore: Port
@suite-common/wallet-core
and `@suite-common/wal……let-utils` to `@solana/web3.js` v2
Configuration menu - View commit details
-
Copy full SHA for 7decab1 - Browse repository at this point
Copy the full SHA 7decab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b31c09 - Browse repository at this point
Copy the full SHA 2b31c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for e636762 - Browse repository at this point
Copy the full SHA e636762View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b20f63 - Browse repository at this point
Copy the full SHA 5b20f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b363d - Browse repository at this point
Copy the full SHA f0b363dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc419f - Browse repository at this point
Copy the full SHA fbc419fView commit details -
fixup! chore: Port
@suite-common/wallet-core
and `@suite-common/wal……let-utils` to `@solana/web3.js` v2
Configuration menu - View commit details
-
Copy full SHA for 8cdbbaf - Browse repository at this point
Copy the full SHA 8cdbbafView commit details -
fixup! chore: Port
@suite-common/wallet-core
and `@suite-common/wal……let-utils` to `@solana/web3.js` v2
Configuration menu - View commit details
-
Copy full SHA for 34dc334 - Browse repository at this point
Copy the full SHA 34dc334View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec2125b - Browse repository at this point
Copy the full SHA ec2125bView commit details