sudhir-b
20f169c0b0
fix: sort accountMetas after deduping
2022-05-30 11:40:01 -07:00
Steven Luscher
84f1e5c0da
fix: speed up transaction signing by removing code that does nothing ( #25302 )
2022-05-18 11:08:13 -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
442e6c325f
fix: eliminate circular dependencies in web3.js ( #24729 )
...
* chore: enable circular dependency warnings on build
* fix: eliminate circular dependencies in web3.js
2022-04-27 11:41:14 -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
Josh
49d3d79459
web3.js: add accounts support to simulateTransaction ( #19590 )
...
* feat: add accounts support to simulateTransaction
* feat: introduce test for simulateTransaction on Message objects
* feat: populate transaction from message defaults to no signatures
* fix: remove unused constant
* fix: small formatting error
* fix: eslint and prettier were fighting over ternary indentation
* fix: make simulated transaction result accounts nullable
2021-09-16 14:10:28 -07:00
Justin Starry
1942d294e9
chore(web3): use github actions ( #19816 )
...
* chore: use github actions
* chore: npm audit
* chore: fix prettier warn
* chore: fix doc errors
* chore: add puppeteer
2021-09-13 16:37:18 -05: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
b0f4e2b738
chore: update doc comments ( #16267 )
2021-03-31 10:48:41 +00:00
Justin Starry
c344702fa0
fix: revert usage of toBytes to fix compatibility ( #16253 )
2021-03-31 14:51:41 +08:00
Justin Starry
44e3445a4d
fix: strip internal types from external declaration
2021-03-29 19:05:53 +08:00
Justin Starry
a622198235
feat: add PublicKey.toBytes and fix buffer incompatibility
2021-03-29 14:32:35 +08:00
Justin Starry
f912c63b22
chore: migrate to typescript
2021-03-17 10:26:00 +08:00