Skip to content

Commit 4bebb7f

Browse files
authored
Merge branch 'master' into feat/eip-1559
2 parents 47633dc + 2af68c2 commit 4bebb7f

File tree

34 files changed

+207
-74
lines changed

34 files changed

+207
-74
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
33
"useNx": true,
44
"useWorkspaces": true,
5-
"version": "7.1.2"
5+
"version": "7.2.0"
66
}

local-tests/test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ import { testFailBatchGeneratePrivateKeysAtomic } from './tests/wrapped-keys/tes
114114
import { setLitActionsCodeToLocal } from './tests/wrapped-keys/util';
115115
import { testUseEoaSessionSigsToRequestSingleResponse } from './tests/testUseEoaSessionSigsToRequestSingleResponse';
116116
import { testPkpSessionSigsDomain } from './tests/testPkpSessionSigsDomain';
117+
import { testPruneRLI } from './tests/testPruneRLI';
117118

118119
// Use the current LIT action code to test against
119120
setLitActionsCodeToLocal();
@@ -297,6 +298,10 @@ setLitActionsCodeToLocal();
297298
},
298299
};
299300

301+
const others = {
302+
testPruneRLI,
303+
};
304+
300305
const testConfig = {
301306
tests: {
302307
// testExample,
@@ -319,6 +324,8 @@ setLitActionsCodeToLocal();
319324

320325
...relayerTests,
321326
...wrappedKeysTests,
327+
328+
...others,
322329
},
323330
devEnv,
324331
};

local-tests/tests/testPruneRLI.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { TinnyEnvironment } from 'local-tests/setup/tinny-environment';
2+
3+
/**
4+
* Test Commands:
5+
* ✅ NETWORK=datil-dev yarn test:local --filter=testPruneRLI
6+
* ✅ NETWORK=datil-test yarn test:local --filter=testPruneRLI
7+
* ✅ NETWORK=custom yarn test:local --filter=testPruneRLI
8+
*/
9+
export const testPruneRLI = async (devEnv: TinnyEnvironment) => {
10+
const alice = await devEnv.createRandomPerson();
11+
12+
const res =
13+
await alice.contractsClient.rateLimitNftContractUtils.write.pruneExpired(
14+
alice.wallet.address
15+
);
16+
17+
console.log(res);
18+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@cosmjs/proto-signing": "0.30.1",
4141
"@cosmjs/stargate": "0.30.1",
4242
"@dotenvx/dotenvx": "^1.6.4",
43-
"@lit-protocol/accs-schemas": "^0.0.26",
43+
"@lit-protocol/accs-schemas": "^0.0.28",
4444
"@lit-protocol/contracts": "^0.0.74",
4545
"@metamask/eth-sig-util": "5.0.2",
4646
"@mysten/sui.js": "^0.37.1",

packages/access-control-conditions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"tags": [
2222
"universal"
2323
],
24-
"version": "7.1.2",
24+
"version": "7.2.0",
2525
"main": "./dist/src/index.js",
2626
"typings": "./dist/src/index.d.ts"
2727
}

packages/auth-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"tags": [
3232
"browser"
3333
],
34-
"version": "7.1.2",
34+
"version": "7.2.0",
3535
"main": "./dist/src/index.js",
3636
"typings": "./dist/src/index.d.ts"
3737
}

packages/auth-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"crypto": false,
2626
"stream": false
2727
},
28-
"version": "7.1.2",
28+
"version": "7.2.0",
2929
"main": "./dist/src/index.js",
3030
"typings": "./dist/src/index.d.ts"
3131
}

packages/constants/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tags": [
2121
"universal"
2222
],
23-
"version": "7.1.2",
23+
"version": "7.2.0",
2424
"main": "./dist/src/index.js",
2525
"typings": "./dist/src/index.d.ts"
2626
}

packages/constants/src/lib/constants/constants.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,39 @@ export const LIT_CHAINS: LITChain<LITEVMChain> = {
10881088
type: null,
10891089
vmType: 'EVM',
10901090
},
1091+
'0gGalileoTestnet': {
1092+
contractAddress: null,
1093+
chainId: 16601,
1094+
name: '0G Galileo Testnet',
1095+
symbol: 'OG',
1096+
decimals: 18,
1097+
rpcUrls: ['https://evmrpc-testnet.0g.ai'],
1098+
blockExplorerUrls: ['https://chainscan-galileo.0g.ai/'],
1099+
type: null,
1100+
vmType: 'EVM',
1101+
},
1102+
peaqTestnet: {
1103+
contractAddress: null,
1104+
chainId: 9990,
1105+
name: 'Peaq Testnet',
1106+
symbol: 'PEAQ',
1107+
decimals: 18,
1108+
rpcUrls: ['https://peaq-agung.api.onfinality.io/public'],
1109+
blockExplorerUrls: ['https://agung-testnet.subscan.io/'],
1110+
type: null,
1111+
vmType: 'EVM',
1112+
},
1113+
peaqMainnet: {
1114+
contractAddress: null,
1115+
chainId: 3338,
1116+
name: 'Peaq Mainnet',
1117+
symbol: 'PEAQ',
1118+
decimals: 18,
1119+
rpcUrls: ['https://quicknode.peaq.xyz/'],
1120+
blockExplorerUrls: ['https://peaq.subscan.io/'],
1121+
type: null,
1122+
vmType: 'EVM',
1123+
},
10911124
};
10921125

10931126
/**
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '7.1.2';
1+
export const version = '7.2.0';

0 commit comments

Comments
 (0)