diff --git a/.changeset/hot-gorillas-fly.md b/.changeset/hot-gorillas-fly.md deleted file mode 100644 index 2b19321e..00000000 --- a/.changeset/hot-gorillas-fly.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@3loop/transaction-decoder': minor ---- - -Refactor stores to call `set` when the data is not found in strategies. This introduces new types for store values, to -be able to differentiate between a missing value, and one that was never requested. - -- 1. `Success` - The data is found successfully in the store -- 2. `NotFound` - The data is found in the store, but is missing the value -- 3. `MetaEmpty` - The contract metadata is not found in the store - -This change requires the users of the library to persist the NotFound state. Having the NotFound state allows us -to skip the strategy lookup, which is one of the most expensive operations when decoding transactions. - -We suggest to keep a timestamp for the NotFound state, and invalidate it after a certain period of time. This will -ensure that the strategy lookup is not skipped indefinitely. Separately, users can upload their own data to the store. diff --git a/.changeset/neat-starfishes-wonder.md b/.changeset/neat-starfishes-wonder.md deleted file mode 100644 index 6effe1f3..00000000 --- a/.changeset/neat-starfishes-wonder.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@3loop/transaction-interpreter': patch -'@3loop/transaction-decoder': patch ---- - -Add otel tracing spans diff --git a/apps/web/CHANGELOG.md b/apps/web/CHANGELOG.md index eb930c50..3b7f0ae7 100644 --- a/apps/web/CHANGELOG.md +++ b/apps/web/CHANGELOG.md @@ -1,5 +1,14 @@ # web +## 0.1.14 + +### Patch Changes + +- Updated dependencies [d169992] +- Updated dependencies [af5093d] + - @3loop/transaction-decoder@0.11.0 + - @3loop/transaction-interpreter@0.2.1 + ## 0.1.13 ### Patch Changes diff --git a/apps/web/package.json b/apps/web/package.json index 3b13ef4b..b53317b2 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "0.1.13", + "version": "0.1.14", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/transaction-decoder/CHANGELOG.md b/packages/transaction-decoder/CHANGELOG.md index ce143e6a..8824474f 100644 --- a/packages/transaction-decoder/CHANGELOG.md +++ b/packages/transaction-decoder/CHANGELOG.md @@ -1,5 +1,26 @@ # @3loop/transaction-decoder +## 0.11.0 + +### Minor Changes + +- d169992: Refactor stores to call `set` when the data is not found in strategies. This introduces new types for store values, to + be able to differentiate between a missing value, and one that was never requested. + + - 1. `Success` - The data is found successfully in the store + - 2. `NotFound` - The data is found in the store, but is missing the value + - 3. `MetaEmpty` - The contract metadata is not found in the store + + This change requires the users of the library to persist the NotFound state. Having the NotFound state allows us + to skip the strategy lookup, which is one of the most expensive operations when decoding transactions. + + We suggest to keep a timestamp for the NotFound state, and invalidate it after a certain period of time. This will + ensure that the strategy lookup is not skipped indefinitely. Separately, users can upload their own data to the store. + +### Patch Changes + +- af5093d: Add otel tracing spans + ## 0.10.0 ### Minor Changes diff --git a/packages/transaction-decoder/package.json b/packages/transaction-decoder/package.json index 488f1ff2..c2c590f8 100644 --- a/packages/transaction-decoder/package.json +++ b/packages/transaction-decoder/package.json @@ -1,6 +1,6 @@ { "name": "@3loop/transaction-decoder", - "version": "0.10.0", + "version": "0.11.0", "description": "A library for decoding Ethereum transactions", "types": "dist/index.d.ts", "main": "dist/index.cjs", diff --git a/packages/transaction-interpreter/CHANGELOG.md b/packages/transaction-interpreter/CHANGELOG.md index 9ad14fa3..ce93cb81 100644 --- a/packages/transaction-interpreter/CHANGELOG.md +++ b/packages/transaction-interpreter/CHANGELOG.md @@ -1,5 +1,14 @@ # @3loop/transaction-interpreter +## 0.2.1 + +### Patch Changes + +- af5093d: Add otel tracing spans +- Updated dependencies [d169992] +- Updated dependencies [af5093d] + - @3loop/transaction-decoder@0.11.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/transaction-interpreter/package.json b/packages/transaction-interpreter/package.json index 232e330e..7f1108e8 100644 --- a/packages/transaction-interpreter/package.json +++ b/packages/transaction-interpreter/package.json @@ -1,6 +1,6 @@ { "name": "@3loop/transaction-interpreter", - "version": "0.2.0", + "version": "0.2.1", "description": "", "license": "GPL-3.0-only", "type": "module",