Skip to content

Commit 57beba8

Browse files
authored
Merge branch 'master' into feature/lit-4083-use-an-even-older-blockhash-from-providers
2 parents e398422 + b599a54 commit 57beba8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3653
-13
lines changed

package.json

Lines changed: 2 additions & 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.21",
43+
"@lit-protocol/accs-schemas": "^0.0.22",
4444
"@lit-protocol/contracts": "^0.0.74",
4545
"@metamask/eth-sig-util": "5.0.2",
4646
"@mysten/sui.js": "^0.37.1",
@@ -85,6 +85,7 @@
8585
"@nx/web": "17.3.0",
8686
"@solana/web3.js": "1.95.3",
8787
"@types/depd": "^1.1.36",
88+
"@types/events": "^3.0.3",
8889
"@types/jest": "27.4.1",
8990
"@types/node": "18.19.18",
9091
"@types/secp256k1": "^4.0.6",

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const LIT_CHAINS: LITChain<LITEVMChain> = {
120120
name: 'Arbitrum Sepolia',
121121
symbol: 'ETH',
122122
decimals: 18,
123-
rpcUrls: ['https://arbitrum-sepolia.blockpi.network/v1/rpc/public'],
123+
rpcUrls: ['https://sepolia-rollup.arbitrum.io/rpc'],
124124
blockExplorerUrls: ['https://sepolia.arbiscan.io/'],
125125
type: null,
126126
vmType: 'EVM',
@@ -912,6 +912,17 @@ export const LIT_CHAINS: LITChain<LITEVMChain> = {
912912
type: null,
913913
vmType: 'EVM',
914914
},
915+
vana: {
916+
contractAddress: null,
917+
chainId: 1480,
918+
name: 'Vana',
919+
symbol: 'VANA',
920+
decimals: 18,
921+
rpcUrls: ['https://rpc.vana.org'],
922+
blockExplorerUrls: ['https://vanascan.io'],
923+
type: null,
924+
vmType: 'EVM',
925+
},
915926
};
916927

917928
/**

packages/constants/src/lib/errors.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,11 @@ export const LIT_ERROR: Record<string, ErrorConfig> = {
217217
code: 'transaction_error',
218218
kind: LitErrorKind.Unexpected,
219219
},
220+
AUTOMATION_ERROR: {
221+
name: 'AutomationError',
222+
code: 'automation_error',
223+
kind: LitErrorKind.Unexpected,
224+
},
220225
};
221226

222227
export const LIT_ERROR_CODE = {
@@ -292,6 +297,7 @@ const MultiError = VError.MultiError;
292297
export { MultiError };
293298

294299
export const {
300+
AutomationError,
295301
InitError,
296302
InvalidAccessControlConditions,
297303
InvalidArgumentException,

packages/event-listener/.babelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
[
4+
"@nx/web/babel",
5+
{
6+
"useBuiltIns": "usage"
7+
}
8+
]
9+
]
10+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"extends": ["../../.eslintrc.json"],
3+
"ignorePatterns": ["!**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7+
"rules": {}
8+
},
9+
{
10+
"files": ["*.ts", "*.tsx"],
11+
"rules": {}
12+
},
13+
{
14+
"files": ["*.js", "*.jsx"],
15+
"rules": {}
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)