diff --git a/packages/connector/src/zkp/types/zkp.ts b/packages/connector/src/zkp/types/zkp.ts index 9b2f1c90..12169a21 100644 --- a/packages/connector/src/zkp/types/zkp.ts +++ b/packages/connector/src/zkp/types/zkp.ts @@ -83,6 +83,7 @@ export type StateInfo = { index: string; hash: string; createdAtTimestamp: string; + createdAtBlock: string; lastUpdateOperationIndex: string; }; diff --git a/packages/snap/.eslintrc.js b/packages/snap/.eslintrc.js index c7729260..6c4a37c8 100644 --- a/packages/snap/.eslintrc.js +++ b/packages/snap/.eslintrc.js @@ -4,6 +4,7 @@ module.exports = { ignorePatterns: [ '**/codegen.ts', '**/jest.config.ts', + '**/snap.config.ts', '!.eslintrc.js', 'dist/', '**/src/typia-generated/*.ts', diff --git a/packages/snap/snap.config.js b/packages/snap/snap.config.js deleted file mode 100644 index a89abad1..00000000 --- a/packages/snap/snap.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - cliOptions: { - src: './src/index.ts', - port: 8081, - eval: false, - }, -}; diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 600ba38e..19111a2b 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/rarimo/rarime.git" }, "source": { - "shasum": "VyboKH5bWW2WuoWRbo70xcl/yJhReuLAuKLJkTQ34Go=", + "shasum": "1+p7tiw9zprBgeZrAavS6zqrPs2fwRDOTAN1QCIccM8=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/packages/snap/src/types/global-types.ts b/packages/snap/src/types/global-types.ts index 202e281e..85957f7e 100644 --- a/packages/snap/src/types/global-types.ts +++ b/packages/snap/src/types/global-types.ts @@ -4,12 +4,3 @@ export type TextField = { value: string; type: NodeType.Text; }; - -export type RarimoNetworkType = 'mainnet' | 'beta'; - -export type ChainInfo = { - id: number; - rpcUrl: string; - stateContractAddress: string; - rarimoNetworkType: RarimoNetworkType; -};