From 66d5d3da6d107d05d4ab29484c62a681da651fa0 Mon Sep 17 00:00:00 2001 From: 0xkvn <44363395+lambertkevin@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:27:32 +0200 Subject: [PATCH] Changeset --- .changeset/eleven-tomatoes-approve.md | 5 +++++ .changeset/real-donuts-occur.md | 6 ++++++ .changeset/tiny-eagles-teach.md | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 .changeset/eleven-tomatoes-approve.md create mode 100644 .changeset/real-donuts-occur.md create mode 100644 .changeset/tiny-eagles-teach.md diff --git a/.changeset/eleven-tomatoes-approve.md b/.changeset/eleven-tomatoes-approve.md new file mode 100644 index 000000000000..53e3505be071 --- /dev/null +++ b/.changeset/eleven-tomatoes-approve.md @@ -0,0 +1,5 @@ +--- +"@ledgerhq/hw-app-eth": minor +--- + +Refactoring of transaction decoding and fix EIP-155 applied incorrectly for legacy transactions (type 0). The `v` can now be used as is, representing either the EIP-155 value or the parity (0/1) for transactions using EIP-2718. Ethers full library has now also been removes from dependencies to decrease install and bundle sizes. diff --git a/.changeset/real-donuts-occur.md b/.changeset/real-donuts-occur.md new file mode 100644 index 000000000000..84d57c77b9f8 --- /dev/null +++ b/.changeset/real-donuts-occur.md @@ -0,0 +1,6 @@ +--- +"@ledgerhq/coin-evm": patch +"@ledgerhq/live-env": patch +--- + +Remove helper `applyEIP155` now that `hw-app-eth` is fixed and returns a valid `v` in all possible cases. Adding a env var `EVM_FORCE_LEGACY_TRANSACTIONS` to force transaction type 0, making this change QA compatible. diff --git a/.changeset/tiny-eagles-teach.md b/.changeset/tiny-eagles-teach.md new file mode 100644 index 000000000000..ee6b05b24026 --- /dev/null +++ b/.changeset/tiny-eagles-teach.md @@ -0,0 +1,5 @@ +--- +"@ledgerhq/evm-tools": minor +--- + +Remove `ethers` from dependencies and use sub-librairies instead to reduce the package size.