-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: remove Bech32 address (#3493)
* chore: removed bech32 * chore: update recipes * chore: fix test * chore: update changeset * Update apps/docs/src/guide/types/address.md Co-authored-by: Daniel Bate <[email protected]> --------- Co-authored-by: Anderson Arboleya <[email protected]> Co-authored-by: Daniel Bate <[email protected]>
- Loading branch information
1 parent
c6895b6
commit 4ccc628
Showing
41 changed files
with
135 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@fuel-ts/address": minor | ||
"@fuel-ts/errors": patch | ||
"@fuel-ts/recipes": patch | ||
"@fuel-ts/logger": minor | ||
--- | ||
|
||
chore!: remove Bech32 address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ backends | |
backoff | ||
backtrace | ||
backtraces | ||
Bech | ||
BigNumber | ||
Bitfield | ||
bitmask | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
apps/docs/src/guide/types/snippets/address/creating-an-address.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
// #region full | ||
import { Address } from 'fuels'; | ||
|
||
const ADDRESS_BECH32 = | ||
'fuel1elnmzsav56dqnp95sx4e2pckq36cvae9ser44m5zlvgtwxw49fmqd7e42e'; | ||
const ADDRESS_B256 = | ||
'0xcfe7b143aca69a0984b481ab950716047586772586475aee82fb10b719d52a76'; | ||
|
||
const address = new Address(ADDRESS_BECH32); | ||
const address = new Address(ADDRESS_B256); | ||
// #endregion full | ||
|
||
console.log('address', address); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// #region addresses-1 | ||
const b256 = | ||
'0x9ae5b658754e096e4d681c548daf46354495a437cc61492599e33fc64dcdc30c'; | ||
// #endregion addresses-1 | ||
|
||
console.log('b256', b256); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
apps/docs/src/guide/utilities/snippets/address-conversion/b256-to-bech32-utilities.ts
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
apps/docs/src/guide/utilities/snippets/address-conversion/b256-to-bech32.ts
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
apps/docs/src/guide/utilities/snippets/address-conversion/bech32-to-b256-utilities.ts
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
apps/docs/src/guide/utilities/snippets/address-conversion/bech32-to-b256.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...pets/instantiating/from-bech32-address.ts → ...ippets/instantiating/from-b256-address.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.