Steven Luscher
a741eddf7d
fix: always use the nonce as the recent blockhash; never overwrite it ( #25829 )
2022-06-26 19:01:54 -07:00
steveluscher
0ae5893379
fix: repair sort order of pubkeys when compiling messages
2022-06-04 16:09:08 -07:00
steveluscher
1727ca4371
test: massage tests from PR 25641
2022-05-30 11:40:30 -07:00
sudhir-b
20f169c0b0
fix: sort accountMetas after deduping
2022-05-30 11:40:01 -07:00
Steven Luscher
4ea39c1cd3
feat: thread new blockheight expiry strategy through `sendAndConfirmTransaction` ( #25227 )
...
* chore: extract expirable blockhash record into its own type
* fix: the local latest blockhash cache now fetches and stores lastValidBlockHeight
* fix: allow people to supply a confirmation strategy to sendAndConfirmRawTransaction
* test: upgrade RPC helpers to use blockheight confirmation method
* test: patch up tests to use blockheight based confirmation strategy
* fix: eliminate deprecated construction of Transaction inside simulateTransaction
* test: eliminate deprecated constructions of Transaction in tests
2022-05-14 21:54:12 -07:00
Steven Luscher
d513407485
test: getEstimatedFee change runs only in live environment now ( #25210 )
...
Co-authored-by: Marc Jaramillo <mnj.webdeveloper@gmail.com>
2022-05-13 21:16:39 -07:00
Marc Jaramillo
375968da3b
fix: transaction confirmation strategy: wait until the last valid blockheight passes ( closes #24211 )
...
Co-authored-by: Marc Jaramillo <mnj.webdeveloper@gmail.com>
Co-authored-by: Stella Wang <stella01wang@gmail.com>
2022-05-13 20:21:24 -07:00
Justin Starry
d1f816984e
fix: allow mutating transactions ( #25141 )
2022-05-12 11:02:57 +08:00
Steven Luscher
2be4ee3619
test: increase timeout for getEstimatedFee test ( #24732 )
2022-04-26 23:54:56 -07:00
Justin Starry
7ba419e5d5
fix: allow signing a populated transaction ( #24475 )
2022-04-20 01:03:37 +08:00
Jordan Sexton
21dacefbee
fix: transactions populated from RPC requests retain original account key order ( #23720 )
...
* fix: transaction populate
* chore: web3: fix tx serialization test
* chore: web3: run prettier
* fix: web3: transaction populate
* fix: web3: handle nonce info
* add hash calc config.use_write_cache (#24005 )
* restore existing overlapping overflow (#24010 )
* Stringify populated transaction fields
* fix: web3: compare stringified JSON
* chore: web3: remove eslint indent rule that conflicts with prettier
* fix: web3: explicitly call toJSON
* fix: web3: add test for compileMessage
* fix: web3: make JSON internal
* fix: web3: connection simulation from message relies on mutating transaction
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
Co-authored-by: Jack May <jack@solana.com>
Co-authored-by: Justin Starry <justin@solana.com>
2022-04-16 14:28:57 -05:00
Marc Jaramillo
2bff36dfba
feat: add getEstimatedFee to Transaction ( #23579 )
2022-03-11 10:05:22 -07:00
Noah Prince
81a10e649f
fix: non-deterministic writeable account order ( #21724 )
2022-01-08 13:38:58 +08:00
Justin Starry
2ef2b6daa0
fix: remove buggy node polyfill plugin ( #18531 )
...
* fix: remove buggy node polyfill plugin
* fix websocket test
* remove assert dependency
2021-07-09 00:33:41 -05:00
Justin Starry
3e13cde988
fix: allow messages to be compiled without instructions ( #17621 )
...
* fix: allow messages to be compiled without instructions
* chore: fix tests
2021-06-02 12:39:59 -07:00
Justin Starry
f43f0afa55
feat: add Keypair class and deprecate Account ( #17098 )
...
* feat: add Keypair class and deprecate Account
* chore: fix lint issues
* chore: rename TransactionSigner to Signer
2021-05-07 08:59:51 +00:00
Justin Starry
8ada44456d
chore: migrate tests to typescript
2021-03-17 10:26:00 +08:00