Skip to content
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

Replace Buffer with uint8array #6004

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c7d4ff2
update ethereumjs libraries
mpetrunic Jan 30, 2023
9365fd4
fix: update ethereumjs deps
mpetrunic Mar 6, 2023
5907369
Merge remote-tracking branch 'ef/4.x' into chore/update-ethereumjs-li…
mpetrunic Mar 6, 2023
bfad5e0
Merge branch '4.x' into chore/update-ethereumjs-libraries
avkos Mar 23, 2023
9b2dcc1
Merge branch '4.x' into ok/update-ethereumjs
avkos Mar 24, 2023
e94287d
mode deps. fix lint errors
avkos Mar 28, 2023
0015b91
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Mar 28, 2023
a2ac599
fix deprecation method
avkos Mar 28, 2023
959ef05
test
avkos Mar 28, 2023
1639b29
refactor
avkos Mar 28, 2023
3552cb4
fix integration tests
avkos Mar 28, 2023
57a212e
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Mar 28, 2023
98885a3
+
avkos Mar 28, 2023
eff2da7
revert ts config
avkos Mar 28, 2023
14e74c0
revert lint-staged
avkos Mar 28, 2023
81272db
fix tests
avkos Mar 28, 2023
5e28cdd
revert
avkos Mar 29, 2023
1e85f9f
remove szz. refactor accountList
avkos Mar 29, 2023
d79bfac
refactor rlp
avkos Mar 29, 2023
07c6a76
refactor converters
avkos Mar 29, 2023
067b9ec
revert analyze
avkos Mar 29, 2023
13bb54d
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
jdevcs Mar 30, 2023
f1af8d7
fix comments
avkos Mar 30, 2023
1ba59ca
skip test
avkos Mar 30, 2023
9599441
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Mar 30, 2023
1efe600
fix defaultHardfork test. (bug)
avkos Mar 30, 2023
69d4b54
rlp tests
avkos Mar 31, 2023
9f9a9e7
add tx tests
avkos Apr 1, 2023
2af4bc2
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Apr 1, 2023
9ec8b5d
common tests
avkos Apr 4, 2023
691e4d4
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Apr 4, 2023
afc38e7
add validation tests
avkos Apr 4, 2023
fda0b1b
add versions and change logs
avkos Apr 4, 2023
1fbd842
Merge branch '4.x' into ok/5948-Replace-ethereumjs/tx-dependency-with…
avkos Apr 5, 2023
a909ae3
revert @ethereumjs/rlp
avkos Apr 6, 2023
99ac66d
fix json error
avkos Apr 6, 2023
159a3d1
fix: remove Buffer from web3-validator
mpetrunic Mar 14, 2023
b62c920
fixed unit tests
mpetrunic Apr 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,10 @@ should use 4.0.1-alpha.0 for testing.
- `formatTransaction` will now replace `data` transaction property with `input` (#5915)
- `isTransactionCall` will now check if `value.input` `isHexStrict` if provided (#5915)

#### web3-eth-accounts

- Moved @ethereumjs/tx, @ethereumjs/common, @ethereumjs/rlp code to our source code (#5963)

#### web3-eth-contract

- `getSendTxParams` will now return `input` instead of `data` in returned transaction parameters object (#5915)
Expand Down Expand Up @@ -1409,13 +1413,18 @@ should use 4.0.1-alpha.0 for testing.

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
- Added functions `isHexString`, `isHexPrefixed`, `validateNoLeadingZeroes` (#5963)

### Removed

#### web3-core

- `getConfig` method from `Web3Config` class, `config` is now public and accessible using `Web3Config.config` (#5950)

#### web3-eth

- Removed dependencies @ethereumjs/tx, @ethereumjs/common (#5963)

#### web3-eth-abi

- Removed `formatDecodedObject` function (#5934)
Expand All @@ -1424,6 +1433,10 @@ should use 4.0.1-alpha.0 for testing.

- `data` was removed as a property of `ContractOptions` type (#5915)

#### web3-utils

- Removed dependencies @ethereumjs/tx, @ethereumjs/common (#5963)

### Fixed

#### web3-eth-ens
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core/src/web3_context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export type TransactionBuilder<API extends Web3APISpec = unknown> = <
>(options: {
transaction: Record<string, unknown>;
web3Context: Web3Context<API>;
privateKey?: HexString | Buffer;
privateKey?: HexString | Uint8Array;
}) => Promise<ReturnType>;

/**
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)

### Changed

- Moved @ethereumjs/tx, @ethereumjs/common, @ethereumjs/rlp code to our source code (#5963)
3 changes: 2 additions & 1 deletion packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"typescript": "^4.7.4"
},
"dependencies": {
"@ethereumjs/tx": "^3.5.2",
"@ethereumjs/rlp": "^4.0.1",
"crc-32": "^1.2.2",
"ethereum-cryptography": "^1.1.2",
"web3-errors": "^1.0.0-rc.0",
"web3-types": "^1.0.0-rc.0",
Expand Down
Loading