Skip to content

Commit

Permalink
chore(sepolia): support sepolia in contracts and validator
Browse files Browse the repository at this point in the history
  • Loading branch information
avimak committed Apr 2, 2024
1 parent a67b7dd commit 65c5fe5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
"goerli-alpha": {
"$ref": "types.json#/definitions/Host"
},
"sepolia-alpha": {
"$ref": "types.json#/definitions/Host"
},
"others": {
"$ref": "types.json#/definitions/Host"
}
Expand Down
7 changes: 7 additions & 0 deletions schemas/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
"type": "string",
"pattern": "^0x[0-9a-f]{1,64}$"
}
},
"sepolia-alpha": {
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-f]{1,64}$"
}
}
},
"additionalProperties": false
Expand Down
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface ProjectMetadata {
| {
"mainnet-alpha"?: string;
"goerli-alpha"?: string;
"sepolia-alpha"?: string;
others?: string;
};
contracts: Contract[];
Expand All @@ -56,6 +57,7 @@ export interface Contract {
addresses: {
"mainnet-alpha"?: string[];
"goerli-alpha"?: string[];
"sepolia-alpha"?: string[];
};
[k: string]: unknown;
}
Expand Down

0 comments on commit 65c5fe5

Please sign in to comment.