14 Commits

Author SHA1 Message Date
Alain Nicolas
a3ad42a072 chore(license): update licensing (#1106)
* chore(license): update licensing

* chore(license): update licensing on Java files
2025-06-09 11:53:04 +02:00
kyzooghost
d27699e452 [WIP - Tech Debt] Typescript config cleanup (#1073)
* initial tsconfig.json consolidation

* consolidate skipLibCheck

* more consolidate tsconfig.json

* remove strict duplicates

* remove strict duplicates

* removed lib

* more changes

* more changes

* more changes

* centralize noEmit

* run pnpm dedupe

* catalog for ethers and dotenv

* Revert "catalog for ethers and dotenv"

This reverts commit 8fc18db1c6f754ecbf1b175b34f6ebf08837068a.

* first catalog

* added more dependencies to catalog

* apply catalog to many dev dependencies

* ethers in catalog

* finetune ethers version

* fixes

* empty
2025-06-03 17:33:42 +10:00
Victorien Gauch
19735ced28 fix: update blob compressor lib + update dependencies + use tsup (#976)
* fix: update blob compressor lib + update dependencies + use tsup

* fix: update dict path

* fix: lockfile issue

* fix: bump package json version
2025-06-02 14:43:53 +02:00
jonesho
7e306e2658 feat: remove l2-node in e2e test and make it to run in local stack op… (#1001)
* feat: remove l2-node in e2e test and make it to run in local stack optionally

* fix: l2 spec transaction data size limit e2e test

* feat: revise blockscout configs

* feat: revised comment in Makefile

* feat: update transaction-exclusion-api and postman image

* feat: remove expected-traces-api-version-v2 from coordinator local overrides toml

* feat: remove shomei-frontend from ci and add disabled option in Type2StateProofProviderConfig

* feat: add endpoint for type2-state-proof-provider

* feat: revise coordinator local-dev override configs

* feat: remove white space
2025-05-22 23:27:14 +08:00
kyzooghost
ae7414d4a3 postman test script from concurrent to serial tx (#954) 2025-05-08 18:24:52 +10:00
kyzooghost
19880cd8a9 [Feat] Postman Sponsorship Metrics (#902)
* added claimTxGasUsed attribute

* add test code for message mapper

* add two more table entries

* added isForSponsorship db entity change

* remove isForSponsorship

* working postman tests

* working tests for add isForSponsorship attribute

* fix positioning

* refactor MessageClaimingPersister

* remove bad comment

* added migration:create command

* generate migration docs

* added new migration for sponsorship

* typo

* passing tests for MessageMetricsService & MetricsService refactor

* remove console logs

* added subscriber code for isForSponsorship

* working e2e and local test for sponsorship messages metrics

* add comment

* added SponsorshipFeesWei and SponsorshipFeesGwei metrics

* did sponsorshipfeesubscriber

* register sponsorshipfeessubscriber

* string fixes

* remove claimtxgasused and claimtxgasprice db columns, refactor metricsservice design pattern

* SponsorshipMetricsUpdater.ts

* change isForSponsorship semantics

* remove isForSponsorship from DB

* Revert "remove isForSponsorship from DB"

This reverts commit 79f4887e3492a43443bb5dba78f66f78606241a5.

* remove isForSponsorship public function

* remove isForSponsorship label from message metric

* add getSponsoredMessagesTotal method

* added sponsorshipmetricsupdater to messageclaimingpersister

* amend base postman image for e2e test

* add promql queries in comments

* empty

* remove === true
2025-05-05 20:26:37 +10:00
kyzooghost
36fc728dd5 [Feat] Postman Sponsorship manual test script (#899)
* postman test script

* logString fixes

* Revert "logString fixes"

This reverts commit 66e15176d553abb741194be8446bf63e4defe114.
2025-04-24 18:01:27 +10:00
kyzooghost
b021601c61 [Fix] Postman Sponsoring config (#892)
* change PROFIT_MARGIN to 0.01

* fix misconfig
2025-04-23 08:31:59 +10:00
Victorien Gauch
b2990e9a3c Feat: Add metrics to postman (#871)
* feat: add metrics to postman

* fix: issue with get message to claim query

* fix: import issues

* fix: update unit tests and fix minor issues

* fix: refator metrics

* fix: update typeorm query

* fix: update postman docker config
2025-04-22 11:44:53 +02:00
kyzooghost
9a16c5e152 [Feat] Postman Sponsor (#860)
* remove isTokenCanonicalUSDC

* move logic to handleTokenClick

* add clause

* remove string for ClaimType

* remove todos

* rename for clarity

* added switch for auto_free

* replaced AUTO_PAID

* some more auto_free

* fix typo

* did free text

* comment fixes

* add test todos

* added config values to postman

* added isForSponsorship

* add isForSponsorship condition to MessageClaimingProcessor

* removed config from messageclaimingprocessor

* did tests for transactionvalidationservice

* did one messageclaimingprocessor test

* added cases to MessageClaimingProcessor test

* rm valueAndFee magic value from e2e test

* new test

* working e2e test

* test refactor

* test refactor

* new e2e test

* add new e2e case

* remove .only

* new test case

* test 2 workers for e2e

* Revert "test 2 workers for e2e"

This reverts commit 8256043df9613015e98c8b5507fcf87f3a8ccc06.

* empty

* adjust for comments 1

* empty

* adjust for comment 2
2025-04-22 19:28:53 +10:00
Victorien Gauch
12a5c33c82 Feat/673 add events filters to the postman (#683)
* feat: add event filters options to the postman

* fix: update package lock file

* fix: update postman params and event filtering

* fix: update filters format

* fix: update .env.sample

* fix: clean return condition in utility functions regarding events filtering

* fix: change calldata function interface for testing
2025-02-17 11:41:26 +01:00
jonesho
672e5ed8d7 fix: temp fix for the corepack issue (#645)
* fix: temp fix for the corepack issue

* fix: move the fix line above corepack enable
2025-02-04 11:30:27 +08:00
Victorien Gauch
317ef4f06e fix: improve postman logging and error parsing (#622)
* fix: improve postman logging and error parsing

* fix: remove unnecessary casting
2025-01-29 17:12:01 +01:00
Victorien Gauch
f58c12a455 Feat/272 split sdk and postman (#381)
* feat: split postman and sdk

* fix: update postman client and sendMessage script

* fix: clean the sdk

* fix: update sdk dependencies

* fix: remove .env.sample file

* fix: remove testing helpers from the build

* fix: update gas provider in linea sdk and update postman client

* fix: update postman dependencies

* fix: update postman dockerfile and fix tests imports and types

* fix: remove unused code in the sdk + move typechain folder

* fix: remove unused code + fix imports in postman

* fix: pnpm lock file issue

* fix: import issue

* fix: case sensitive file issue

* fix: update sdk fees options and update exports

* fix: remove postman unused code and adjust imports and tests

* fix: update contracts abis + clean error parsing

* fix: update postman based on new SDk changes

* add readme + remove unused interface in postman

* fix: rename Base.ts file to BaseError.ts

* fix: rename Base.ts file to BaseError.ts in postman

* chore: update readme for the postman

* fix: rename maxFeePerGas to maxFeePerGasCap

* fix: update DefaultGasProvider fees check

* fix: default gas provider test issue

* fix: update main ci filter

* fix: issue in default gas provider
2024-12-09 12:12:45 +01:00