@ledgerhq/coin-evm 2.24.0-nightly.2 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +38 -15
- package/docs/evm-family-integration-process/README.md +5 -5
- package/lib/api/index.d.ts.map +1 -1
- package/lib/api/index.js +0 -6
- package/lib/api/index.js.map +1 -1
- package/lib/network/node/ledger.js +2 -2
- package/lib/specs.d.ts.map +1 -1
- package/lib/specs.js +0 -3
- package/lib/specs.js.map +1 -1
- package/lib-es/api/index.d.ts.map +1 -1
- package/lib-es/api/index.js +0 -6
- package/lib-es/api/index.js.map +1 -1
- package/lib-es/network/node/ledger.js +2 -2
- package/lib-es/specs.d.ts.map +1 -1
- package/lib-es/specs.js +0 -3
- package/lib-es/specs.js.map +1 -1
- package/package.json +12 -12
- package/src/__tests__/unit/editTransaction/__snapshots__/getFormattedFeeFields.test.ts.snap +0 -540
- package/src/api/index.ts +0 -7
- package/src/network/node/ledger.ts +2 -2
- package/src/specs.ts +0 -3
package/src/api/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Balance,
|
|
3
|
-
Block,
|
|
4
3
|
BlockInfo,
|
|
5
4
|
FeeEstimation,
|
|
6
5
|
MemoNotSupported,
|
|
@@ -45,12 +44,6 @@ export function createApi(config: EvmConfig, currencyId: CryptoCurrencyId): Alpa
|
|
|
45
44
|
pagination: Pagination,
|
|
46
45
|
): Promise<[Operation<EvmAsset, MemoNotSupported>[], string]> =>
|
|
47
46
|
listOperations(currency, address, pagination),
|
|
48
|
-
getBlock(_height): Promise<Block<EvmAsset>> {
|
|
49
|
-
throw new Error("getBlock is not supported");
|
|
50
|
-
},
|
|
51
|
-
getBlockInfo(_height: number): Promise<BlockInfo> {
|
|
52
|
-
throw new Error("getBlockInfo is not supported");
|
|
53
|
-
},
|
|
54
47
|
};
|
|
55
48
|
}
|
|
56
49
|
|
|
@@ -239,9 +239,9 @@ export const getFeeData: NodeApi["getFeeData"] = async (currency, transaction) =
|
|
|
239
239
|
/**
|
|
240
240
|
* ⚠️ We don't know the type of the transaction for sure at this stage since
|
|
241
241
|
* `getFeeData` is called before `getTypedTransaction` in prepareTransaction
|
|
242
|
-
* libs/coin-
|
|
242
|
+
* libs/coin-evm/src/prepareTransaction.ts:201
|
|
243
243
|
* It's most probably always 2 since it's the default type value for a new transaction
|
|
244
|
-
* cf. libs/coin-
|
|
244
|
+
* cf. libs/coin-evm/src/createTransaction.ts:23
|
|
245
245
|
*/
|
|
246
246
|
options: {
|
|
247
247
|
useEIP1559: getEnv("EVM_FORCE_LEGACY_TRANSACTIONS") ? false : transaction.type === 2,
|
package/src/specs.ts
CHANGED