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

PRO-2723 - Standardisation #162

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 17 additions & 0 deletions backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
# Changelog
## [2.1.1] - 2025-01-09
### Breaking Changes
- changed `pimlicoAddress` endpoint name to `tokenPaymasterAddress` the functionality remains the same
- Changed the following endpoint names to be camelCases:-
- `/policy/wallet-address/:walletAddress` to `/policy/walletAddress/:walletAddress`
- `/policy/wallet-address/:walletAddress/ep-version/:epVersion` to `/policy/walletAddress/:walletAddress/epVersion/:epVersion`
- `/policy/wallet-address/:walletAddress/ep-version/:epVersion/chain-id/:chainId` to `/policy/walletAddress/:walletAddress/epVersion/:epVersion/chainId/:chainId`
- `/policy/wallet-address/:walletAddress/latest` to `/policy/walletAddress/:walletAddress/latest`
- `/policy/wallet-address/:walletAddress/chain-id/:chainId/latest` to `/policy/walletAddress/:walletAddress/chainId/:chainId/latest`
- `/policy/wallet-address/:walletAddress/ep-version/:epVersion/latest` to `/policy/walletAddress/:walletAddress/epVersion/:epVersion/latest`
- `/policy/wallet-address/:walletAddress/ep-version/:epVersion/chainId/:chain-id/latest` to `/policy/walletAddress/:walletAddress/epVersion/:epVersion/chainId/:chainId/latest`
- `/add-policy` to `/addPolicy`
- `/delete-policy/:id` to `/deletePolicy/:id`
- `/update-policy` to `/updatePolicy`
- `/enable-policy/:id` to `/enablePolicy/:id`
- `/disable-policy/:id` to `/disablePolicy/:id`

## [1.8.0] - 2024-12-25
### Breaking changes
- removed `/whitelist/v1`, `/removeWhitelist/v1`, `/checkWhitelist/v1` endpoints.
Expand Down
40 changes: 40 additions & 0 deletions backend/config.json.default
Original file line number Diff line number Diff line change
Expand Up @@ -418,5 +418,45 @@
"thresholdValue": "0.016",
"MultiTokenPaymasterOracleUsed": "orochi",
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
},
{
"chainId": 44787,
"bundler": "https://testnet-rpc.etherspot.io/v1/44787",
"contracts": {
"etherspotPaymasterAddress": "0x590Cf408033f6516F5CBA15189033bF7452fDa0c"
},
"thresholdValue": "0.016",
"MultiTokenPaymasterOracleUsed": "chainlink",
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
},
{
"chainId": 44787,
"bundler": "https://testnet-rpc.etherspot.io/v2/44787",
"contracts": {
"etherspotPaymasterAddress": "0x18d9405bfdd22ea84c0b481e0aaa4638e4f71af4"
},
"thresholdValue": "0.016",
"MultiTokenPaymasterOracleUsed": "chainlink",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032"
},
{
"chainId": 42220,
"bundler": "https://rpc.etherspot.io/v1/42220",
"contracts": {
"etherspotPaymasterAddress": "0x46dC4A1804de656551Ff30A53dd39ED373B30520"
},
"thresholdValue": "0.016",
"MultiTokenPaymasterOracleUsed": "chainlink",
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
},
{
"chainId": 42220,
"bundler": "https://rpc.etherspot.io/v2/42220",
"contracts": {
"etherspotPaymasterAddress": "0x5952653f151e844346825050d7157a9a6b46a23a"
},
"thresholdValue": "0.016",
"MultiTokenPaymasterOracleUsed": "chainlink",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032"
}
]
1 change: 1 addition & 0 deletions backend/demo.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ MULTI_TOKEN_MARKUP=1150000
ETHERSCAN_GAS_ORACLES=
DEFAULT_API_KEY=
WEBHOOK_URL=
MTP_VGL_MARKUP=30000
45 changes: 0 additions & 45 deletions backend/migrations/20241204071603-add-vp-address-attribute.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arka",
"version": "2.0.0",
"version": "2.1.1",
"description": "ARKA - (Albanian for Cashier's case) is the first open source Paymaster as a service software",
"type": "module",
"directories": {
Expand Down
Loading
Loading