Denis Angell
0c4765d2e0
Merge branch 'beta3' into iouescrow
2023-02-15 16:38:23 -05:00
Mayukha Vadari
4693c91ec4
fix errors
2023-02-15 13:28:50 -05:00
Mayukha Vadari
8c83a12933
add rbc tests for the new txs
2023-02-15 10:58:07 -05:00
Mayukha Vadari
3dbe28ce98
Merge branch 'main' into sidechain-2.5
2023-02-06 12:21:08 -05:00
Mayukha Vadari
764f8d7b5e
fix tests
2023-02-06 12:16:12 -05:00
Mayukha Vadari
d8930c5fb8
remove XChainAddAttestationBatch
2023-02-06 12:14:34 -05:00
Denis Angell
c8d24d65f5
Merge branch 'main' into iouescrow
2023-02-06 10:56:50 -05:00
dangell7
5541632b7f
amendment-xls34d
...
add transfer rate
Update definitions.json
update test error text
update validation error
fix undefined validation
switch claim signing order, update claim object
update workflow docker
tests (paychan + escrow)
add ic gateway (test)
add faucet
update sdk
fixup git-workflow
2023-02-06 09:19:49 -05:00
justinr1234
5fe480ece4
feat: Jest Test Runner ( #2170 )
2023-02-03 17:03:07 -06:00
Mayukha Vadari
81eb9668a0
fix tests
2023-02-02 17:16:46 -05:00
Mayukha Vadari
0ac00086df
Merge branch 'main' into sidechain-2.5
2023-02-02 14:17:44 -05:00
pdp2121
c74ffddf59
fix: unset hash128 fields using AccountSet ( #2156 )
2023-02-01 12:27:02 -05:00
Mayukha Vadari
3268a29843
update Issue form
2023-01-09 12:13:56 -05:00
Mayukha Vadari
c26235f424
fix renames
2023-01-09 12:13:55 -05:00
Mayukha Vadari
aa3443a347
more updates
2023-01-09 12:13:55 -05:00
Mayukha Vadari
2065e6f040
update definitions.json to resolve amm conflicts
2023-01-09 12:13:55 -05:00
Mayukha Vadari
9fb741f6f5
update definitions.json to avoid conflict with amm
2023-01-09 12:13:55 -05:00
Mayukha Vadari
ecffb1375a
fix spacing
2023-01-09 12:13:55 -05:00
Mayukha Vadari
43bf4b9e14
more fixes
2023-01-09 12:13:55 -05:00
Mayukha Vadari
9de54dcea9
update to latest rippled
2023-01-09 12:13:55 -05:00
Mayukha Vadari
ad4c952fbf
update binary-codec
2023-01-09 12:13:55 -05:00
Mayukha Vadari
c29319aad8
update definitions.json for new rippled code, add new tests/update old tests
2023-01-09 12:13:54 -05:00
Mayukha Vadari
ac88bf3079
add codec support for XChainAddAttestation
2023-01-09 12:13:54 -05:00
Mayukha Vadari
6508d048bf
rename Bridge -> XChainBridge in binary codec, fix tests
2023-01-09 12:13:54 -05:00
Mayukha Vadari
0286b81745
add tests
2023-01-09 12:13:54 -05:00
Mayukha Vadari
d7c3583a8f
refactor: use xrpl-codec-gen for definitions.json ( #2037 )
...
* Update definitions.json
* update CONTRIBUTING
* fix tests
* fix UNL
2022-07-19 21:01:19 +01:00
Jackson Mills
89240eae62
Handle edge cases for standard currency code signing ( #2009 )
...
* Allow decoding symbols + lowercase standard codes
* Standardize the treatment of standard codes and hex codes for verifying transaction equivalence
2022-06-17 14:27:47 -07:00
Jackson Mills
c994ac7b65
Add better error for trying to encode invalid transactions ( #2001 )
2022-05-24 15:57:08 -07:00
Omar Khan
9d94f4a8ab
rename XLS-20 fields ( #1966 )
...
* rename TokenTaxon -> NFTokenTaxon
* rename MintedTokens -> MintedNFTokens
* rename BurnedTokens -> BurnedNFTokens
* update binary for NFTokenID rename
* rename TokenID -> NFTokenID
* rename TokenOffers -> NFTokenOffers
* rename BrokerFee -> NFTokenBrokerFee
* rename Minter -> NFTokenMinter
* rename NonFungibleToken -> NFToken
* rename NonFungibleTokens -> NFTokens
* rename BuyOffer -> NFTokenBuyOffer
* rename SellOffer -> NFTokenSellOffer
* rename OfferNode -> NFTokenOfferNode
* fix binary for serialize tests
* Add missing MintedNFTokens def + fix tests
* nftokenid -> nft_id
* asfAuthorizedMinter -> asfAuthorizedNFTokenMinter
* Update tec/tem error codes
* Add new definitions
* Update HISTORY.md
* Change to 1.4.0 for binary-codec
* Docgen
* Update HISTORY.md
Co-authored-by: Jackson Mills <jmills@ripple.com >
2022-04-19 10:02:18 -07:00
Jackson Mills
b0e0f9f329
Remove exception from decoding issued currencies which evaluate to 'XRP' ( #1920 )
...
* Remove throw and revise tests
* Update chai dependency
* Disabling linter error about extraneous import
* Fix typo in test description
* Revert unnecessary test changes
* Remove unnecessary comments
* Revert chai change
* Add HISTORY.md
* Revert chai change in package-lock as well
* Fix typo
* Check the result of the decoding
* Update tests with correct expected behavior.
* Fix tests and update currency.js
* Update currency.ts
2022-02-02 18:05:42 -05:00
Omar Khan
8f79c51c7c
[ripple-binary-codec] fix ISO when parsing currency code ( #1921 )
2022-02-02 17:52:08 -05:00
ledhed2222
46a8adcac9
feat: NFT support ( #1829 )
...
* add NFTokenBurn and NFTokenMint
* add NFTokenCreateOffer
* add NFTokenCancelOffer
* add NFTokenAcceptOffer
* add requests and responses
* make a beta 2.1.0
* rename TokenIDs to TokenOffers
* add validations and fixup docs
* add tests
* add missing error codes to binary codec
* adds history changes
2021-12-17 18:26:47 -05:00
Mayukha Vadari
fe845de884
fix: encoding issue with encoding non-traditional currency codes ( #1857 )
...
* add test
* fix decoding issue
2021-12-02 14:43:26 -05:00
Mayukha Vadari
fc101c6733
fix: add workaround for rippled UNLModify encoding bug ( #1830 )
...
* initial patch
* clean up
* make ts happy
* fix typing
* respond to comments
* Revert "respond to comments"
This reverts commit 689768bbf1 .
* Publish
- ripple-address-codec@4.2.1-beta.0
- ripple-binary-codec@1.2.1-beta.0
- ripple-keypairs@1.1.1-beta.0
- xrpl@2.0.3-beta.0
* add helper comments
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-11-30 17:16:03 -05:00
ledhed2222
7cb38591ac
add support for nfts in binary codec ( #1797 )
2021-11-15 17:08:37 -05:00
Greg Weisbrod
afd6aadaf1
run prettier on all packages
2021-11-12 02:41:28 -05:00
Greg Weisbrod
43b55ab598
run 'npx lerna link convert' to hoist common devDependencies to top
2021-11-08 18:19:45 -05:00
ledhed2222
869e6e2553
migrate from yarn to npm ( #148 )
...
* migrate from yarn to npm
* fix unrelated prettier error
2021-10-13 16:11:55 -04:00
Mayukha Vadari
51bd22e34a
add test
2021-06-25 10:51:59 -04:00
Mayukha Vadari
f25aecd853
fix encoding problems
2021-06-24 17:35:49 -04:00
Nathan Nichols
c149ec87ea
fix: allow lowercase hex in Uint64 ( #135 )
2021-06-11 10:58:15 -07:00
Nathan Nichols
c63c235a05
fix: Encode hex strings length <16 to match rippled ( #133 )
2021-06-08 16:40:48 -07:00
Nathan Nichols
53c72b7045
fix: edge case constructing from string '0' ( #121 )
...
* fix: edge case constructing from string '0'
2021-03-10 11:36:01 -06:00
Nathan Nichols
6c537c0dc3
X-Address Encoding in Issued Currencies ( #113 )
...
* feat(account): allow issued currency to use x-address
2021-02-04 14:24:34 -06:00
Nathan Nichols
5a711afb7e
fix: polyfill Buffer for browser compatibility ( #112 )
...
* Polyfill with "buffer" and "assert" for browser environments
* Instead of relying on webpack to make this library browser compatible, we now use a buffer library that provides a polyfill when used in the browser
2020-12-03 21:38:57 -06:00
elmurci
b023e9b35b
fix(tickets): Field codes for TicketCount and TicketSequence ( #111 )
...
* fix(tickets): Field codes for TicketCount and TicketSequence
BeginLedgerSeq was taking the place of TicketCount (40) in definitions.
From a8d481c2a5/src/ripple/protocol/impl/SField.cpp
TicketCount should be 40 and TicketSequence 41.
BeginLedgerSeq doesn't seem to be used, so removing it
* fix(ci): fix tests ci
2020-11-23 21:51:03 +01:00
elmurci
479ade8a76
Tickets support ( #110 )
...
* feat(tickets): add TicketCount definition
* feat(tickets): add TicketSequence definition
* fix(tests): unit tests
2020-11-17 17:33:20 +01:00
Nathan Nichols
b43e79a9af
Browser Compatibility Updates ( #107 )
...
* BigInt -> big-integer to support older browsers
* Buffer read/write BigUInt64 removed for browser compatibility.
2020-10-22 15:36:45 -05:00
Nathan Nichols
b197897227
Encode any 3 character ASCII currency code ( #106 )
...
* Encode all 3 character ASCII codes
2020-09-14 13:09:38 -05:00
Nathan Nichols
a5559825ae
Filter undefined values ( #105 )
...
filter out fields with undefined values
2020-09-08 17:17:14 -05:00