-
Notifications
You must be signed in to change notification settings - Fork 850
Buffer to Uint8Array conversion
#2566
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
75b4e8b
V7 update to master 1 (#2593)
acolytec3 63be503
First pass - most util changes
acolytec3 0f35c2f
Fix most account stuff
acolytec3 37a1820
Fix account test
acolytec3 80a23e8
Many byte fixes
acolytec3 e122daa
util: fix constants tests
acolytec3 735fcb6
remaining fixes
acolytec3 c67f079
Turn off ci jobs
acolytec3 94f4d71
monorepo: bigIntToUnpaddedBuffer -> bigIntToUnpaddedBytes
gabrocheleau 816d956
util: update description of bytes exporT
gabrocheleau 0b1e650
util: remove unused import
gabrocheleau 375d032
common: use bytesToHex helper instead of toString('hex')
gabrocheleau 03118c0
trie: refactor non-test files to Uint8Array
gabrocheleau 8c96c6d
util: add binary string utils
gabrocheleau 66eafa5
util: remove extra Uint8Array.from
gabrocheleau b605e44
util: remove arrToBufArray util
gabrocheleau 1578e44
trie: adjust tests and fix outstanding issues
gabrocheleau 726f9a2
util: remove binarystring utils and add compareBytes and randomBytes …
gabrocheleau aaf69f0
common: refactor common with Uint8Array
gabrocheleau 556a5a5
util: accept 0x-prefixed and non-prefixed hex strings in toBytes
gabrocheleau 7e207d1
tx: refactor Buffer -> Uint8Array
gabrocheleau 09abad8
tx: remove unused import
gabrocheleau e173ed9
util: revert toBytes update
gabrocheleau 6ce69ad
block: refactor Buffer -> uint8array
gabrocheleau 731d369
block: adjust import
gabrocheleau 0dd7a5b
trie: refactor remaining buffer instances
gabrocheleau 7ee110e
move devp2p to uint8Array
acolytec3 7ef3ddc
statemanager: refactor buffer -> uint8array
gabrocheleau 85d6213
util: simplify zeros
acolytec3 d4c1ef8
util: add concatBytesUnsafe
acolytec3 29bcb68
ethash: partial migration
acolytec3 6bd1aef
ethash: update examples
acolytec3 7c05bb6
ethash: wip fixes
acolytec3 817245f
ethash: more WIP
acolytec3 e733ad5
ethash: ensure fnv input is read from mix, not mixView
jochem-brouwer fb01eb5
blockchain: migrate to uint8array
acolytec3 02221ad
ethash: renable all tests
acolytec3 122cd69
ethash: fix bytesReverse
acolytec3 915ee29
Fix miner tests
acolytec3 34fc0ba
many hexToBytes moves
acolytec3 264425c
most of evm/vm moves
acolytec3 ff915e1
evm: Fix all tests
acolytec3 eb29f0b
vm: more fixes
acolytec3 429988e
More fixes
acolytec3 3f60a1a
vm: fix receipts encoding
acolytec3 293e741
vm: fix tester
acolytec3 b9c69d5
client: refactor buffer to uint8array
gabrocheleau 50288fd
client: additional uint8 adjustments
gabrocheleau 31a4bbb
client: fix most tests
gabrocheleau a529561
fix remaining client unit tests
acolytec3 a93ebcd
reactivate most CI
acolytec3 ae0e933
client: fix les test/protocol
acolytec3 5e36b25
turn client CI on
acolytec3 a6e04d4
util: fix name typo
acolytec3 f369283
lint
acolytec3 523ece3
Fix withdrawals
acolytec3 5a995be
remove buffarraytoarr
acolytec3 87249b6
Remove bufArrtoArr references
acolytec3 5176d41
Lint
acolytec3 8532dff
fix examples
acolytec3 de03bb3
Fix difficulty test
acolytec3 7c794cf
lint
acolytec3 5905c64
block: update randomBytes import
acolytec3 9f8b13f
replace randombytes import
acolytec3 f881400
client: fix sim test util
acolytec3 91879e6
vm: fix example
acolytec3 e906878
devp2p: update snappy typing and fix tests
acolytec3 56c2123
Fix tests
acolytec3 60f3974
Remove additional buffer references
acolytec3 d6bf2a6
rustbn fixes
acolytec3 5a33359
add 0x prefix to precompile address
acolytec3 603b7ed
Remove `node-ip` dependency and buffer references in devp2p
acolytec3 7c0700d
Switch slice to subarray
acolytec3 78f514c
evm: fix blake2f
jochem-brouwer beab716
Merge fixes
acolytec3 5c80a8c
more merge commit fixes
acolytec3 6c7ce68
more test fixes
acolytec3 54439f7
Address all the feedback
acolytec3 b2038a2
fix dns test
acolytec3 f00c834
Update packages/util/src/bytes.ts
acolytec3 5ef4ee7
Fix return type for baToJSON
acolytec3 20920e0
util: instantiate hexByByte array
jochem-brouwer 90019e8
Remove baToJson
acolytec3 3f7fc75
rebase fixes
acolytec3 0c8308b
Fix event typing
acolytec3 1df3a55
Revert outdated initcode changes
acolytec3 6e1a80b
lint
acolytec3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.