author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
131,894
10.12.2020 18:28:39
-3,600
8b64f106bbf640a202967d274a7f7c1f55733509
Use proper hex string length prefixes
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibChannelCrypto.sol", "new_path": "modules/contracts/src.sol/lib/LibChannelCrypto.sol", "diff": "@@ -35,7 +35,7 @@ library LibChannelCrypto {\n// 32 is the length in bytes of hash,\n// enforced by the type signature above\nreturn...
TypeScript
MIT License
connext/vector
Use proper hex string length prefixes
131,905
10.12.2020 23:36:23
25,200
6b0cdd12dad26d4e5cd2f0f81e229ad27c1c0f62
start node with postgres db optionally
[ { "change_type": "MODIFY", "old_path": "ops/start-node.sh", "new_path": "ops/start-node.sh", "diff": "#!/usr/bin/env bash\nset -e\n+stack=\"node\"\nroot=$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )/..\" >/dev/null 2>&1 && pwd )\nproject=$(grep -m 1 '\"name\":' \"$root/package.json\" | cut -d '\"' -f 4...
TypeScript
MIT License
connext/vector
start node with postgres db optionally
131,905
10.12.2020 23:51:45
25,200
a0002e74aff0a3e7c1385163816de2c2ed4510f0
Create proper services and configs
[ { "change_type": "MODIFY", "old_path": "ops/test-load.sh", "new_path": "ops/test-load.sh", "diff": "@@ -29,6 +29,47 @@ then interactive=(--interactive --tty)\nelse echo \"Running in non-interactive mode\"\nfi\n+\n+####################\n+## Load Config\n+\n+if [[ ! -f \"$root/node.config.json\" ]]\n+...
TypeScript
MIT License
connext/vector
Create proper services and configs
131,905
11.12.2020 00:14:24
25,200
3c3abc645fda4a29074dfd77629b79a104a56f04
WIP: tests running
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "import { TestToken } from \"@connext/vector-contracts\";\n-import { EngineEvents, FullChannelState, INodeService, NodeError, TransferNames } f...
TypeScript
MIT License
connext/vector
WIP: tests running
131,894
11.12.2020 11:38:57
-3,600
73b73d06e8b447e9f742ec8f16a4000157902c21
Use trio instead of prod router/node
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/test.ts", "new_path": "modules/test-runner/src/load/helpers/test.ts", "diff": "@@ -32,11 +32,11 @@ export const concurrencyTest = async (): Promise<void> => {\nconst queuedPayments = 25; // added to queue\n// Get agent mana...
TypeScript
MIT License
connext/vector
Use trio instead of prod router/node
131,905
11.12.2020 10:37:20
25,200
0191138d43158b0d57d3800d3b8be44e37f22eca
concurrency tests fixed
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/load/helpers/agent.ts", "new_path": "modules/test-runner/src/load/helpers/agent.ts", "diff": "@@ -307,52 +307,46 @@ export class AgentManager {\nindices = registeredAgents.map((r) => r.index).concat(Array(toCreate).fill(0).map(getRandom...
TypeScript
MIT License
connext/vector
concurrency tests fixed
131,905
11.12.2020 11:37:38
25,200
43bb967af6aa1a7a329ec7d89f506fa9d2c15beb
Update engine types to include restore
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/utils.ts", "new_path": "modules/engine/src/utils.ts", "diff": "@@ -15,6 +15,8 @@ import {\nSetupPayload,\nREQUEST_COLLATERAL_EVENT,\nRequestCollateralPayload,\n+ RESTORE_STATE_EVENT,\n+ RestoreStatePayload,\n} from \"@connext/vector-types\";...
TypeScript
MIT License
connext/vector
Update engine types to include restore
131,900
12.12.2020 03:42:27
-19,080
9081bfc351ec775b9c9ba7b114f7a469cf23bd40
new: RPC schema Unit Test ref:
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/index.spec.ts", "new_path": "modules/engine/src/testing/index.spec.ts", "diff": "import { VectorChainService } from \"@connext/vector-contracts\";\n-import { Result } from \"@connext/vector-types\";\n+import {\n+ Result,\n+ EnginePar...
TypeScript
MIT License
connext/vector
new: RPC schema Unit Test ref: #255
131,905
11.12.2020 18:22:58
25,200
d69dfde55c0800277213ef201c081b250879dd85
Add generic engine error
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -3,3 +3,9 @@ export class InvalidTransferType extends Error {\nsuper(`Transfer type ${transferType} invalid`);\n}\n}\n+\n+export class EngineError extends Error {\n+ constru...
TypeScript
MIT License
connext/vector
Add generic engine error
131,905
11.12.2020 18:30:49
25,200
4fbb57913d0aaba81903b87eb85d8c01b98ca322
validateChannelUpdateSignatures in utils
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/sync.ts", "new_path": "modules/protocol/src/sync.ts", "diff": "@@ -14,9 +14,10 @@ import {\nFullTransferState,\nIExternalValidation,\n} from \"@connext/vector-types\";\n+import { validateChannelUpdateSignatures } from \"@connext/vector-uti...
TypeScript
MIT License
connext/vector
validateChannelUpdateSignatures in utils
131,905
11.12.2020 18:31:13
25,200
9837e07b947d32e3020146ce65ce09f614153085
Messaging interface has restore methods
[ { "change_type": "MODIFY", "old_path": "modules/types/src/messaging.ts", "new_path": "modules/types/src/messaging.ts", "diff": "-import { ChannelUpdate } from \"./channel\";\n+import { ChannelUpdate, FullChannelState, FullTransferState } from \"./channel\";\nimport { InboundChannelUpdateError, LockE...
TypeScript
MIT License
connext/vector
Messaging interface has restore methods
131,905
11.12.2020 18:31:42
25,200
ad0ff43e26a23ade5ed4d12da111ef4d76f722b7
store interface has restore methods
[ { "change_type": "MODIFY", "old_path": "modules/types/src/store.ts", "new_path": "modules/types/src/store.ts", "diff": "@@ -134,4 +134,6 @@ export interface IEngineStore extends IVectorStore, IChainServiceStore {\n// Setters\nsaveWithdrawalCommitment(transferId: string, withdrawCommitment: WithdrawC...
TypeScript
MIT License
connext/vector
store interface has restore methods
131,905
11.12.2020 19:22:47
25,200
f4b8c777678e94539e62e56b06b4ea72c9c63531
WIP implementation, not tested
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -20,15 +20,20 @@ import {\nChannelRpcMethods,\nIExternalValidation,\nAUTODEPLOY_CHAIN_IDS,\n+ FullChannelState,\n} from \"@connext/vector-types\";\n-import { Wallet } from \"@...
TypeScript
MIT License
connext/vector
WIP implementation, not tested
131,905
11.12.2020 19:39:24
25,200
f7bb9978f83b7d65f14469cf44b4a3fec619a592
WIP: needs node interface updated
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -578,6 +578,25 @@ server.post<{ Body: NodeParams.Withdraw }>(\n},\n);\n+server.post<{ Body: NodeParams.RestoreState }>(\n+ \"/restore\",\n+ { schema: { body: NodePar...
TypeScript
MIT License
connext/vector
WIP: needs node interface updated
131,905
12.12.2020 21:10:39
25,200
e6fe58dd73707cd316540222b636e3ebd2929910
implement restore messaging
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/messaging.ts", "new_path": "modules/utils/src/messaging.ts", "diff": "@@ -17,6 +17,7 @@ import pino, { BaseLogger } from \"pino\";\nimport { INatsService, natsServiceFactory } from \"ts-natsutil\";\nimport { isNode } from \"./env\";\n+import ...
TypeScript
MIT License
connext/vector
implement restore messaging
131,905
12.12.2020 21:11:44
25,200
1cdb6d5d46ba801909a319eea42d2a4a204b2c69
Add node params/responses to schemas
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -588,8 +588,8 @@ server.post<{ Body: NodeParams.RestoreState }>(\n}\nconst rpc = constructRpcRequest(ChannelRpcMethods.chan_restoreState, request.body);\ntry {\n- co...
TypeScript
MIT License
connext/vector
Add node params/responses to schemas
131,905
12.12.2020 21:12:18
25,200
a77abf49b9a73906843aae20708dcdbb8324de63
add restore example
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/examples/6-restore.http", "diff": "+@aliceUrl = http://localhost:8003\n+@bobUrl = http://localhost:8004\n+@carolUrl = http://localhost:8005\n+@daveUrl = http://localhost:8006\n+@rogerUrl = http://localhost:8007\n+@aliceBobCha...
TypeScript
MIT License
connext/vector
add restore example
131,905
12.12.2020 22:00:56
25,200
e21b517ed47f7d17c6f0891b1f16864cb285f8fc
Fix example files
[ { "change_type": "MODIFY", "old_path": "modules/server-node/examples/0-config.http", "new_path": "modules/server-node/examples/0-config.http", "diff": "@carolUrl = http://localhost:8005\n@daveUrl = http://localhost:8006\n@rogerUrl = http://localhost:8007\n-@aliceBobChannel = 0xD7b60870a3a0D52A2b9F7d...
TypeScript
MIT License
connext/vector
Fix example files
131,905
12.12.2020 22:01:18
25,200
98a155f5d3465694a7c1542be20f595d19b4708a
implement saveChannel WIP
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/store.ts", "new_path": "modules/server-node/src/services/store.ts", "diff": "@@ -234,13 +234,6 @@ export class PrismaStore implements IServerNodeStore {\nthis.prisma = new PrismaClient(dbUrl ? { datasources: { db: { url: this.d...
TypeScript
MIT License
connext/vector
implement saveChannel WIP
131,895
14.12.2020 13:44:36
-19,080
25a4df7c690ce46cbc738e746d5b169ac3a29cf1
add env var to enable experimental docker cli
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -6,9 +6,10 @@ on: push\njobs:\nbuild-arm64:\n- runs-on: ubuntu-latest\n+ runs-on: ubuntu-20.04\nenv:\nIMAGE_NAME: vector_node_arm\n+ DOCKER_CLI_EXPERIMENTAL: enabled\nsteps:\n- na...
TypeScript
MIT License
connext/vector
add env var to enable experimental docker cli
131,894
14.12.2020 10:02:03
-3,600
c3e10ba5b17b805a8bdff46715ad6c319abc3872
Test case for offline transfer
[ { "change_type": "MODIFY", "old_path": "modules/router/package.json", "new_path": "modules/router/package.json", "diff": "\"@connext/vector-engine\": \"0.0.33\",\n\"@connext/vector-types\": \"0.0.33\",\n\"@connext/vector-utils\": \"0.0.33\",\n+ \"@prisma/client\": \"2.12.1\",\n\"@sinclair/typebox\":...
TypeScript
MIT License
connext/vector
Test case for offline transfer
131,895
14.12.2020 16:36:44
-19,080
56abeaf996e10877d5f00e7ae32c60e7ac8e334a
debug docker manifest
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -35,6 +35,12 @@ jobs:\nrun: |\necho \"buildx'ing image name: ${IMAGE_NAME}:${GITHUB_SHA::8}\"\ndocker buildx build --platform=linux/arm/v7 --tag connextproject/${IMAGE_NAME}:${GIT...
TypeScript
MIT License
connext/vector
debug docker manifest
131,894
14.12.2020 15:42:20
-3,600
0622bb94effea68e54854400e33575307b37cd0b
Typescript God mode
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/store.ts", "new_path": "modules/router/src/services/store.ts", "diff": "+import { NodeParams } from \"@connext/vector-types\";\n+\n+export const RouterUpdateStatus = {\n+ PENDING: \"PENDING\",\n+ COMPLETE: \"COMPLETE\",\n+ FAILED: \...
TypeScript
MIT License
connext/vector
Typescript God mode
131,894
14.12.2020 15:44:10
-3,600
dedf9ab92a6208888fd8495fb1796799a993f082
Offline transfer code is in
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/utils.ts", "new_path": "modules/engine/src/utils.ts", "diff": "@@ -15,6 +15,8 @@ import {\nSetupPayload,\nREQUEST_COLLATERAL_EVENT,\nRequestCollateralPayload,\n+ IS_ALIVE,\n+ IsAlivePayload,\n} from \"@connext/vector-types\";\nimport { Evt }...
TypeScript
MIT License
connext/vector
Offline transfer code is in
131,894
14.12.2020 17:45:33
-3,600
282aefe50d0f95bc0b3b90c74af3bd833de3e106
Fix forwarding
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/forwarding.spec.ts", "new_path": "modules/router/src/test/forwarding.spec.ts", "diff": "@@ -6,6 +6,7 @@ import {\nNodeError,\nResult,\nTransferNames,\n+ TRANSFER_DECREMENT,\n} from \"@connext/vector-types\";\nimport {\ncreateTestChannel...
TypeScript
MIT License
connext/vector
Fix forwarding
131,905
14.12.2020 16:08:17
25,200
c6d7421232c3247b5f73cfe3542622ca200bad26
Clean up messaging code
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/messaging.spec.ts", "new_path": "modules/server-node/src/services/messaging.spec.ts", "diff": "-import { IChannelSigner, LockInformation, Result } from \"@connext/vector-types\";\n+import { IChannelSigner, Result, LockError, Me...
TypeScript
MIT License
connext/vector
Clean up messaging code
131,905
14.12.2020 16:08:29
25,200
93397d84d48e8d80182863d41d35ec3e84284db2
Properly cast to string without losing context
[ { "change_type": "MODIFY", "old_path": "modules/types/src/error.ts", "new_path": "modules/types/src/error.ts", "diff": "@@ -43,7 +43,7 @@ export class Result<T, Y = any> {\nif (this.isError) {\nreturn JSON.stringify({\nisError: true,\n- error: typeof (this.error as any)?.toString === \"function\" ? ...
TypeScript
MIT License
connext/vector
Properly cast to string without losing context
131,895
15.12.2020 12:13:49
-19,080
6eb0ed8438b877332ada5813cc1892265ec73a47
reformat env vars
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -33,11 +33,11 @@ jobs:\n- name: Build ARM and push\nenv:\nDOCKER_CLI_EXPERIMENTAL: enabled\n+ LOCAL_ARM_IMAGE: vector_node_arm:${{ env.CI_SHA_SHORT }}\n+ LOCAL_DEFAULT_IMAGE: vect...
TypeScript
MIT License
connext/vector
reformat env vars
131,895
15.12.2020 12:31:56
-19,080
1c1dffd8872e7666c9a8fbebf2f9cf01cf1c5737
rm invalid log
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -48,7 +48,6 @@ jobs:\necho \"- REMOTE_ARM_IMAGE=$REMOTE_ARM_IMAGE\"\necho \"buildx-ing image name: $REMOTE_ARM_IMAGE\"\necho \"buildx-ing image name: ${REMOTE_ARM_IMAGE}\"\n- echo...
TypeScript
MIT License
connext/vector
rm invalid log
131,895
15.12.2020 13:08:46
-19,080
c108c0cb7f79915ba3397ddf4648d956b15e8487
debug manifest creation
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -51,8 +51,11 @@ jobs:\necho \"(re-?)building server-node\"\nmake server-node\necho \"docker tag ${LOCAL_DEFAULT_IMAGE} ${REMOTE_DEFAULT_IMAGE}\"\n- docker tag ${LOCAL_DEFAULT_IMAG...
TypeScript
MIT License
connext/vector
debug manifest creation
131,895
15.12.2020 13:36:18
-19,080
1557a53044dbb3086d9f74e444399fe0abc77b39
add REGISTRY env var
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -37,6 +37,7 @@ jobs:\nLOCAL_DEFAULT_IMAGE: vector_node:${{ env.CI_SHA_SHORT }}\nREMOTE_ARM_IMAGE: docker.io/connextproject/vector_node_arm:${{ env.CI_SHA_SHORT }}\nREMOTE_DEFAULT_...
TypeScript
MIT License
connext/vector
add REGISTRY env var
131,900
15.12.2020 13:57:54
-19,080
c316e8ee4b7cb09d3d0063b42690f69df8b31b7f
new: paramConverter test ref: [engine] paramConverter tests
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/paramConverter.ts", "new_path": "modules/engine/src/paramConverter.ts", "diff": "@@ -135,6 +135,9 @@ export async function convertWithdrawParams(\n);\nconst initiatorSignature = await signer.signMessage(commitment.hashToSign());\n+ if (!init...
TypeScript
MIT License
connext/vector
new: paramConverter test ref: [engine] paramConverter tests #256
131,895
15.12.2020 15:08:06
-19,080
9aa93df0c9e9289bfa41dea39a8d99e9e578e123
get digest properly
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -51,12 +51,9 @@ jobs:\ndocker buildx build --platform=linux/arm/v7 --tag ${REMOTE_ARM_IMAGE} --file modules/server-node/ops/arm.Dockerfile --output type=image modules/server-node\...
TypeScript
MIT License
connext/vector
get digest properly
131,895
15.12.2020 15:28:58
-19,080
2b8ab21c97f38280602e3f9c022a20e1c6516180
tag the image before pushing
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "# Derived from:\n# https://medium.com/swlh/using-github-actions-to-build-arm-based-docker-images-413a8d498ee\n+# How to get an image's sha digest:\n+# https://github.com/moby/moby/is...
TypeScript
MIT License
connext/vector
tag the image before pushing
131,895
15.12.2020 15:50:37
-19,080
9dcc45c9c96c98d6af7121619348df7df47a1bcd
use manifest instead of manifest list
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -51,11 +51,11 @@ jobs:\necho \"(re-?)building server-node\"\nmake server-node\necho \"docker tag ${LOCAL_DEFAULT_IMAGE} ${REMOTE_DEFAULT_IMAGE}\"\n- docker tag ${LOCAL_DEFAULT_IMA...
TypeScript
MIT License
connext/vector
use manifest instead of manifest list
131,895
15.12.2020 16:09:43
-19,080
71a1d23881119b6d1868b4f109098ee54ab8a3f2
fix contracts entry
[ { "change_type": "MODIFY", "old_path": "modules/contracts/ops/Dockerfile", "new_path": "modules/contracts/ops/Dockerfile", "diff": "@@ -16,6 +16,4 @@ COPY src.ts src.ts\nCOPY artifacts artifacts\nCOPY dist dist\nCOPY typechain typechain\n-RUN find dist -type f -name \"*.ts\" -exec rm {} \\;\n-RUN fi...
TypeScript
MIT License
connext/vector
fix contracts entry
131,895
15.12.2020 16:38:12
-19,080
957999ac244158fd13a80c288005acfb4f1b1c85
fix chain addresses format
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "@@ -38,6 +38,14 @@ const config: HardhatUserConfig = {\nrando: { default: 3 },\n},\nnetworks: {\n+ localhost: {\n+ accounts: {\n+ accountsBalance: \"0x7ffffffffff...
TypeScript
MIT License
connext/vector
fix chain addresses format
131,895
15.12.2020 16:41:07
-19,080
a340753af69185a5204122d8d669c3d9ff3e7085
rm local arm image env var
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -35,7 +35,6 @@ jobs:\n- name: Build ARM and push\nenv:\nDOCKER_CLI_EXPERIMENTAL: enabled\n- LOCAL_ARM_IMAGE: vector_node_arm:${{ env.CI_SHA_SHORT }}\nLOCAL_DEFAULT_IMAGE: vector_n...
TypeScript
MIT License
connext/vector
rm local arm image env var
131,895
15.12.2020 16:38:12
-19,080
3025cf5260d742d7744444cee0508d69600ddc53
add top-level chainId to chain-addresses.json
[ { "change_type": "MODIFY", "old_path": "modules/contracts/ops/entry.sh", "new_path": "modules/contracts/ops/entry.sh", "diff": "@@ -38,6 +38,7 @@ jq '\n| map(.key = \"\\(.key)Address\")\n| map(.key |= (capture(\"(?<a>^[A-Z])(?<b>.*$)\"; \"g\") | \"\\(.a | ascii_downcase)\\(.b)\"))\n| from_entries\n+...
TypeScript
MIT License
connext/vector
add top-level chainId to chain-addresses.json
131,895
15.12.2020 17:24:55
-19,080
1df60d7ed09f6499c86b030627b054d96bd07c18
pull arm image to get digest
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -45,13 +45,17 @@ jobs:\necho \"- LOCAL_DEFAULT_IMAGE=$LOCAL_DEFAULT_IMAGE\"\necho \"- REMOTE_DEFAULT_IMAGE=$REMOTE_DEFAULT_IMAGE\"\necho \"- REMOTE_ARM_IMAGE=$REMOTE_ARM_IMAGE\"\n...
TypeScript
MIT License
connext/vector
pull arm image to get digest
131,900
15.12.2020 21:37:56
-19,080
900a7dffedcb7f7ce5d54802bc182c469f74de54
fix: test condition
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/paramConverter.spec.ts", "new_path": "modules/engine/src/testing/paramConverter.spec.ts", "diff": "@@ -401,7 +401,7 @@ describe(\"ParamConverter\", () => {\nconst { channelState, result } = await testSetup(params, true);\nexpect(resu...
TypeScript
MIT License
connext/vector
fix: test condition
131,894
15.12.2020 17:42:27
-3,600
2e167b180a18a276463e21df8a6b362f8291f4d9
Browser node fixes
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -62,7 +62,7 @@ export class IframeChannelProvider extends EventEmitter<string> implements IRpcC\nstatic async connect(opts: IframeOptions): Pro...
TypeScript
MIT License
connext/vector
Browser node fixes
131,894
15.12.2020 18:41:08
-3,600
adfe9bcbefee231de02c00bfe13eca1f2d658b87
Fix crosschain transfer
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -164,7 +164,7 @@ export class BrowserNode implements INodeService {\ntoAssetId: string;\nreconcileDeposit?: boolean;\nwithdrawalAddress?: string;\n- }): Promise<vo...
TypeScript
MIT License
connext/vector
Fix crosschain transfer
131,905
15.12.2020 11:37:35
25,200
3e33d440f88090a1bb31ee392ece257bdc41054a
Make results okay to send over wire
[ { "change_type": "MODIFY", "old_path": "modules/types/src/error.ts", "new_path": "modules/types/src/error.ts", "diff": "@@ -36,6 +36,28 @@ export class Result<T, Y = any> {\nreturn undefined;\n}\n+ public toJson(): ResultJson {\n+ if (!this.isError) {\n+ return { isError: false, value: this.value };...
TypeScript
MIT License
connext/vector
Make results okay to send over wire
131,905
15.12.2020 11:40:44
25,200
12aa9e5d3ab20eff5356469573f3a904b1dc98bc
Remove excess log
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/messaging.ts", "new_path": "modules/utils/src/messaging.ts", "diff": "@@ -404,12 +404,11 @@ export class NatsMessagingService implements IMessagingService {\ntry {\nconst subject = `${to}.${from}.${subjectSuffix}`;\nconst msgBody = safeJsonSt...
TypeScript
MIT License
connext/vector
Remove excess log
131,905
15.12.2020 13:13:37
25,200
d8c63599bb73760f4cec134c173dbd8b0727cfdc
Cleanup restore messaging + tests
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/messaging.spec.ts", "new_path": "modules/server-node/src/services/messaging.spec.ts", "diff": "-import { IChannelSigner, Result, LockError, MessagingError, InboundChannelUpdateError } from \"@connext/vector-types\";\n+import {\...
TypeScript
MIT License
connext/vector
Cleanup restore messaging + tests
131,905
15.12.2020 14:08:18
25,200
cf876f712d6264abc56206530f8d3e17c8561c5b
Add nonce and identifiers to transfer
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/listeners.spec.ts", "new_path": "modules/engine/src/testing/listeners.spec.ts", "diff": "@@ -222,6 +222,9 @@ describe(testName, () => {\ntransferResolver: undefined,\nmeta: { test: \"meta\" },\ninDispute: false,\n+ channelNonce: 4,\n...
TypeScript
MIT License
connext/vector
Add nonce and identifiers to transfer
131,905
15.12.2020 20:19:44
25,200
65d314c1cad20c67189500b3fb618e58dbfdc237
WIP: server store implementation
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/store.spec.ts", "new_path": "modules/server-node/src/services/store.spec.ts", "diff": "@@ -23,7 +23,7 @@ import { config } from \"../config\";\nimport { PrismaStore } from \"./store\";\n-describe(\"store\", () => {\n+describe.o...
TypeScript
MIT License
connext/vector
WIP: server store implementation
131,905
15.12.2020 20:20:25
25,200
c6f94dd4887e7361a55b00caac4381b308eba1c6
Add initiator identifier to test overrides
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/test/transfers.ts", "new_path": "modules/utils/src/test/transfers.ts", "diff": "@@ -97,9 +97,9 @@ export function createTestFullHashlockTransferState(\ninitiator: overrides.balance?.to[0] ?? mkAddress(\"0x111\"),\nresponder: overrides.balance...
TypeScript
MIT License
connext/vector
Add initiator identifier to test overrides
131,905
15.12.2020 21:35:37
25,200
b86827f2cc45859dd6bc4cd63f4f179d2515ec10
Implement browser node
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/services/store.spec.ts", "new_path": "modules/browser-node/src/services/store.spec.ts", "diff": "@@ -17,6 +17,7 @@ import pino from \"pino\";\nimport { BrowserStore } from \"./store\";\nconst logger = pino();\n+\ndescribe(\"store\", ()...
TypeScript
MIT License
connext/vector
Implement browser node
131,905
15.12.2020 21:36:02
25,200
bb38baad5c4c94757063e8e01dea97230f2bc0a8
test overriding existing
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/store.spec.ts", "new_path": "modules/server-node/src/services/store.spec.ts", "diff": "@@ -54,7 +54,8 @@ describe.only(\"store\", () => {\nreturn {\n...transfer,\ntransferId: getRandomBytes32(),\n- meta: { routingId: getRandomB...
TypeScript
MIT License
connext/vector
test overriding existing
131,905
15.12.2020 21:59:38
25,200
366d929d205132682b48d219eb5d1016e8b77fc9
Add method to server node interface
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -504,6 +504,18 @@ export class BrowserNode implements INodeService {\n}\n}\n+ async restoreState(\n+ params: OptionalPublicIdentifier<NodeParams.RestoreState>,\n+ ...
TypeScript
MIT License
connext/vector
Add method to server node interface
131,905
15.12.2020 21:59:58
25,200
0c268fd31d882ad35e9e0a05720a3c170a858c87
WIP duet test
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/duet/restore.test.ts", "new_path": "modules/test-runner/src/duet/restore.test.ts", "diff": "import { expect, RestServerNodeService } from \"@connext/vector-utils\";\nimport { utils, constants } from \"ethers\";\n-import { INodeService }...
TypeScript
MIT License
connext/vector
WIP duet test
131,895
16.12.2020 11:25:59
-19,080
e709e7cec066cf46be992da58a966dfe85df34a8
fix arm image name
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -57,6 +57,6 @@ jobs:\ndocker pull ${REMOTE_ARM_IMAGE}_arm\necho \"pushing ${REMOTE_ARM_IMAGE}_arm\"\narm_digest=$(docker push ${REMOTE_ARM_IMAGE}_arm | grep sha | cut -d ' ' -f 3)...
TypeScript
MIT License
connext/vector
fix arm image name
131,895
16.12.2020 11:50:05
-19,080
7dfd4d2cd26aae5138f319e2b6eef52d1960d1ac
use manifest command to push
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -59,4 +59,5 @@ jobs:\narm_digest=$(docker push ${REMOTE_ARM_IMAGE}_arm | grep sha | cut -d ' ' -f 3)\necho \"creating manifest from ${REGISTRY}/vector_node@${default_digest} AAAAA...
TypeScript
MIT License
connext/vector
use manifest command to push
131,895
16.12.2020 11:53:21
-19,080
50438cd76ae6e4e0dcf2512f9cf0b6f9bc002149
don't save deployments for localhost
[ { "change_type": "MODIFY", "old_path": "modules/contracts/deploy/deploy.ts", "new_path": "modules/contracts/deploy/deploy.ts", "diff": "@@ -6,12 +6,8 @@ import { DeployFunction } from \"hardhat-deploy/types\";\nimport { deployContracts } from \"../src.ts/actions/deployContracts\";\nimport { logger }...
TypeScript
MIT License
connext/vector
don't save deployments for localhost
131,895
16.12.2020 12:54:18
-19,080
a5abfd679eb98237139aad7b51bd21643a5acb63
only build server-node
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -31,7 +31,7 @@ jobs:\npython-version: '3.9'\narchitecture: 'x64'\n- name: Make\n- run: make\n+ run: make server-node\n- name: Build ARM and push\nenv:\nDOCKER_CLI_EXPERIMENTAL: en...
TypeScript
MIT License
connext/vector
only build server-node
131,895
16.12.2020 12:54:54
-19,080
e3d4361177e76d6fd22458ce6168e7f778472757
explicitly use ubuntu-20 in github workflows
[ { "change_type": "MODIFY", "old_path": ".github/workflows/feature.yml", "new_path": ".github/workflows/feature.yml", "diff": "@@ -10,7 +10,7 @@ jobs:\nenv:\nDOCKER_USER: ${{ secrets.DOCKER_USER }}\nDOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n- runs-on: ubuntu-latest\n+ runs-on: ubuntu-20.04\nst...
TypeScript
MIT License
connext/vector
explicitly use ubuntu-20 in github workflows
131,895
16.12.2020 13:41:29
-19,080
395408de4a7e02764f4eb6a16aafcfc5a24cc6eb
build everything actually
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -31,7 +31,7 @@ jobs:\npython-version: '3.9'\narchitecture: 'x64'\n- name: Make\n- run: make server-node\n+ run: make\n- name: Build ARM and push\nenv:\nDOCKER_CLI_EXPERIMENTAL: en...
TypeScript
MIT License
connext/vector
build everything actually
131,895
16.12.2020 16:26:43
-19,080
d5b57d427e7f78d96c8813ead6a82ef275f4bfaa
include hashlockTransferAddress in chain addresses
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -181,19 +181,19 @@ test-utils: utils\nwatch-utils: types\nbash ops/test-unit.sh utils watch\n-test-contracts: contracts-js\n+test-contracts: contracts\nbash ops/test-unit.sh contracts test\nwatch-contracts: utils\...
TypeScript
MIT License
connext/vector
include hashlockTransferAddress in chain addresses
131,895
16.12.2020 16:38:41
-19,080
f6d9b29cee153e4cf9c466f5f078f36f6c5049d4
refactor registerTransfer
[ { "change_type": "MODIFY", "old_path": "modules/contracts/deploy/deploy.ts", "new_path": "modules/contracts/deploy/deploy.ts", "diff": "@@ -3,7 +3,7 @@ import { formatEther } from \"@ethersproject/units\";\nimport { ethers, getNamedAccounts, getChainId } from \"hardhat\";\nimport { DeployFunction } ...
TypeScript
MIT License
connext/vector
refactor registerTransfer
131,895
16.12.2020 16:44:59
-19,080
257ea6a3fed0685008811fef36e8b024e782576f
add missing await to deploy
[ { "change_type": "MODIFY", "old_path": "modules/contracts/deploy/deploy.ts", "new_path": "modules/contracts/deploy/deploy.ts", "diff": "@@ -58,8 +58,8 @@ const func: DeployFunction = async () => {\nlog,\n);\n- registerTransfer(\"Withdraw\", deployer);\n- registerTransfer(\"HashlockTransfer\", deploy...
TypeScript
MIT License
connext/vector
add missing await to deploy
131,905
16.12.2020 17:21:16
25,200
f9c3a87cc7df5ceede6bb760abaeed1eb846fea7
Add ability to pass meta through for all events + emit
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -164,6 +164,7 @@ export class BrowserNode implements INodeService {\ntoAssetId: string;\nreconcileDeposit?: boolean;\nwithdrawalAddress?: string;\n+ meta?: any;\n}...
TypeScript
MIT License
connext/vector
Add ability to pass meta through for all events + emit
131,900
17.12.2020 10:06:36
-19,080
dc4efd19eddc2858f135d9ae37b224c0dd2225a2
fix: resolve sign message
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/paramConverter.spec.ts", "new_path": "modules/engine/src/testing/paramConverter.spec.ts", "diff": "@@ -62,6 +62,8 @@ describe(\"ParamConverter\", () => {\nsignerA = Sinon.createStubInstance(ChannelSigner);\nsignerB = Sinon.createStub...
TypeScript
MIT License
connext/vector
fix: resolve sign message
131,895
17.12.2020 12:19:04
-19,080
23f0cad6cca04243baacd921fab89f4e6a456748
fix makefile deps
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -21,7 +21,7 @@ interactive=$(shell if [[ -t 0 && -t 2 ]]; then echo \"--interactive\"; else echo\n########################################\n# Setup more vars\n-find_options=-type f -not -path \"*/node_modules/*\" ...
TypeScript
MIT License
connext/vector
fix makefile deps
131,895
17.12.2020 13:15:02
-19,080
9505a2b03d3cadd2b047b57b9e9abe72a5890f05
setup small repro for hanging hardhat tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.spec.ts", "new_path": "modules/contracts/src.ts/services/ethService.spec.ts", "diff": "@@ -102,12 +102,26 @@ describe(\"EthereumChainService\", function () {\nexpect(chainService).to.be.ok;\n});\n- it(\"should run s...
TypeScript
MIT License
connext/vector
setup small repro for hanging hardhat tests
131,895
17.12.2020 14:42:29
-19,080
29af59e05270b659da210b5ef15d8f2f61014736
use 64 bit arm
[ { "change_type": "MODIFY", "old_path": "modules/server-node/ops/arm.Dockerfile", "new_path": "modules/server-node/ops/arm.Dockerfile", "diff": "-FROM arm32v7/node\n+FROM arm64v7/node\nWORKDIR /root\nENV HOME /root\nRUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/ed77b63706ea721766a6...
TypeScript
MIT License
connext/vector
use 64 bit arm
131,895
17.12.2020 15:02:56
-19,080
d215d5fb65275e6303f2ed62f7c35bd852d8fa89
fix base image
[ { "change_type": "MODIFY", "old_path": "modules/server-node/ops/arm.Dockerfile", "new_path": "modules/server-node/ops/arm.Dockerfile", "diff": "-FROM arm64v7/node\n+FROM arm64v8/node\nWORKDIR /root\nENV HOME /root\nRUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/ed77b63706ea721766a6...
TypeScript
MIT License
connext/vector
fix base image
131,895
17.12.2020 15:09:43
-19,080
5e98e840c0e9a1897a097cd38271c697d8d21169
[contracts] remove all explicit on & only listeners
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.spec.ts", "new_path": "modules/contracts/src.ts/services/ethService.spec.ts", "diff": "@@ -34,7 +34,7 @@ import { getContract } from \"../utils\";\nimport { EthereumChainService } from \"./ethService\";\n-describe(\...
TypeScript
MIT License
connext/vector
[contracts] remove all explicit on & only listeners
131,894
17.12.2020 11:17:28
-3,600
540b4e88f128781eea58bae0df4fae51f89927e4
Trio event setup
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/eventSetup.ts", "new_path": "modules/test-runner/src/trio/eventSetup.ts", "diff": "@@ -5,6 +5,9 @@ import {\nConditionalTransferResolvedPayload,\nDepositReconciledPayload,\nEngineEvents,\n+ WithdrawalCreatedPayload,\n+ WithdrawalRe...
TypeScript
MIT License
connext/vector
Trio event setup
131,895
17.12.2020 15:35:51
-19,080
1ce981547f117ac6d65695742a1b134f4c3f4950
fix platform arg
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ARM.yml", "new_path": ".github/workflows/ARM.yml", "diff": "@@ -41,7 +41,7 @@ jobs:\nREGISTRY: connextproject\nrun: |\necho \"docker buildx-ing ARM image with tag: ${REMOTE_ARM_IMAGE}_arm\"\n- docker buildx build --platform=linux/arm/v7 --tag...
TypeScript
MIT License
connext/vector
fix platform arg
131,895
17.12.2020 15:53:46
-19,080
1e0004b1bbce34ac4b938fa6c1422db50e0a9486
[contracts] add --exit flag to mocha test script
[ { "change_type": "MODIFY", "old_path": "modules/contracts/package.json", "new_path": "modules/contracts/package.json", "diff": "\"prettier\": \"prettier --write './src.sol/**/*.sol'\",\n\"build\": \"rm -rf dist && hardhat compile && tsc\",\n\"build-bundle\": \"rm -f dist/package.json && webpack --co...
TypeScript
MIT License
connext/vector
[contracts] add --exit flag to mocha test script
131,894
17.12.2020 11:36:13
-3,600
c3ee3736df46fe652eceef5c3f39c53b7a4f9a8a
Use crossChainTransferId as routingId for transfers
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -192,7 +192,7 @@ export class BrowserNode implements INodeService {\nconst crossChainTransferId = getRandomBytes32();\nconst { meta, ...res } = params;\n- const up...
TypeScript
MIT License
connext/vector
Use crossChainTransferId as routingId for transfers
131,894
17.12.2020 16:14:55
-3,600
01acf57f48f6896ba1e058872aeaf3fa6a5f5f3f
Add couple more things
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -165,7 +165,7 @@ export class BrowserNode implements INodeService {\nreconcileDeposit?: boolean;\nwithdrawalAddress?: string;\nmeta?: any;\n- }): Promise<{ withdra...
TypeScript
MIT License
connext/vector
Add couple more things
131,900
18.12.2020 00:18:46
-19,080
f4393666a3678466ff48a3ff7c4db943b10b3602
chg: requested changes
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/paramConverter.ts", "new_path": "modules/engine/src/paramConverter.ts", "diff": "@@ -134,8 +134,10 @@ export async function convertWithdrawParams(\ncallData,\n);\n- const initiatorSignature = await signer.signMessage(commitment.hashToSign())...
TypeScript
MIT License
connext/vector
chg: requested changes
131,900
18.12.2020 00:24:43
-19,080
b3abd3a2012567ad8d94993af8b66858a02495f4
rmv: incompleted setup test
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/index.spec.ts", "new_path": "modules/engine/src/testing/index.spec.ts", "diff": "@@ -10,7 +10,6 @@ import {\ngetRandomBytes32,\nmkPublicIdentifier,\nmkAddress,\n- constructRpcRequest,\n} from \"@connext/vector-utils\";\nimport Sinon ...
TypeScript
MIT License
connext/vector
rmv: incompleted setup test
131,900
18.12.2020 00:40:48
-19,080
9a69d5b3c34db0028ca38c53a5e043c076e12ac3
Sweet optimization suggested by layne
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/index.spec.ts", "new_path": "modules/engine/src/testing/index.spec.ts", "diff": "@@ -157,11 +157,7 @@ describe(\"VectorEngine\", () => {\nlog,\n);\nlet rpc: EngineParams.RpcRequest = { ...test.overrides } as any;\n- try {\n- await en...
TypeScript
MIT License
connext/vector
Sweet optimization suggested by layne
131,900
18.12.2020 00:50:31
-19,080
62f21d92f68960531fa65678922ff0392b5bb10e
replace params types from defined to empty body
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/index.spec.ts", "new_path": "modules/engine/src/testing/index.spec.ts", "diff": "@@ -106,42 +106,42 @@ describe(\"VectorEngine\", () => {\nconst tests = [\n{\nname: \"no request.id\",\n- overrides: { id: 1, jsonrpc: \"2.0\", method: ...
TypeScript
MIT License
connext/vector
replace params types from defined to empty body
131,905
17.12.2020 13:16:56
25,200
e5115a93c359bc64177aa6815d1b2ff9affbd0ad
Add encoded cancel to transfer registry info
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/ITransferDefinition.sol", "new_path": "modules/contracts/src.sol/interfaces/ITransferDefinition.sol", "diff": "@@ -34,6 +34,8 @@ interface ITransferDefinition {\nfunction ResolverEncoding() external view returns (string mem...
TypeScript
MIT License
connext/vector
Add encoded cancel to transfer registry info
131,905
17.12.2020 13:18:50
25,200
e335b2e61e4dbb1c9b6f6fa7d1f289586b8073fc
Fix failing reader tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.spec.ts", "new_path": "modules/contracts/src.ts/services/ethReader.spec.ts", "diff": "@@ -76,6 +76,7 @@ describe(\"EthereumChainReader\", function () {\ndefinition: r.definition,\nstateEncoding: r.stateEncoding,\nres...
TypeScript
MIT License
connext/vector
Fix failing reader tests
131,905
17.12.2020 13:35:37
25,200
c0823f27cbb5a4a6c7dffbcd4900a555af57119b
Cancel sender transfer if receiver-side create fails
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -9,11 +9,11 @@ import {\nNodeParams,\nTRANSFER_DECREMENT,\nINodeService,\n- NodeError,\n- IVectorChainReader,\nFullChannelState,\n+ FullTransferState,\n+ IVectorChai...
TypeScript
MIT License
connext/vector
Cancel sender transfer if receiver-side create fails
131,905
17.12.2020 17:20:26
25,200
1333a32e0b71e7201fd3772063114cf6cbe34b4a
refactor forwarding
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/forwarding.spec.ts", "new_path": "modules/router/src/test/forwarding.spec.ts", "diff": "/* eslint-disable @typescript-eslint/no-empty-function */\n-import { ConditionalTransferCreatedPayload, INodeService, Result, TransferNames } from \...
TypeScript
MIT License
connext/vector
refactor forwarding
131,905
17.12.2020 17:41:53
25,200
6f18c595fa95d0710c207cb994e6105a7ca8aed2
Implement simple online success cases
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/forwarding.spec.ts", "new_path": "modules/router/src/test/forwarding.spec.ts", "diff": "@@ -109,7 +109,7 @@ describe.only(\"Forwarding\", () => {\nreturn ctx;\n};\n- const verifySuccessfulResult = (\n+ const verifySuccessfulResult = asy...
TypeScript
MIT License
connext/vector
Implement simple online success cases
131,900
18.12.2020 09:57:34
-19,080
eae94ccbee19c0f6f1925614f9b46d9b0649a181
replace: rpc params undefined with empty body
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -139,7 +139,7 @@ export class IframeChannelProvider extends EventEmitter<string> implements IRpcC\nid: Date.now(),\njsonrpc: \"2.0\",\nmethod: ...
TypeScript
MIT License
connext/vector
replace: rpc params undefined with empty body
131,905
17.12.2020 23:01:33
25,200
381834695bfdfa99f89cbc5b94be2c59fe856c33
Sender side cancellation + tests
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -11,6 +11,7 @@ import {\nINodeService,\nFullChannelState,\nFullTransferState,\n+ NodeError,\n} from \"@connext/vector-types\";\nimport { getBalanceForAssetId, decode...
TypeScript
MIT License
connext/vector
Sender side cancellation + tests
131,895
18.12.2020 12:06:06
-19,080
946cb355a7f8d459870d78cef85c9de206ba685a
build prisma client w/in arm dockerfile
[ { "change_type": "MODIFY", "old_path": "modules/server-node/ops/arm.Dockerfile", "new_path": "modules/server-node/ops/arm.Dockerfile", "diff": "@@ -2,13 +2,12 @@ FROM arm64v8/node\nWORKDIR /root\nENV HOME /root\nRUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/ed77b63706ea721766a62ff...
TypeScript
MIT License
connext/vector
build prisma client w/in arm dockerfile
131,894
18.12.2020 10:11:18
-3,600
7ef4c8a30ec615791f73ced7e129d0d3f081ac87
Add model/ops
[ { "change_type": "MODIFY", "old_path": "modules/router/ops/Dockerfile", "new_path": "modules/router/ops/Dockerfile", "diff": "@@ -8,5 +8,9 @@ COPY ops/package.json package.json\nRUN npm install\nENV PATH=\"/root/node_modules/.bin:./node_modules/.bin:${PATH}\"\nCOPY ops ops\n+COPY schema.prisma schem...
TypeScript
MIT License
connext/vector
Add model/ops
131,895
18.12.2020 14:57:29
-19,080
a2398522c9ef9344761b86773d62b5206d2196b1
refactor createChannel into a proper hardhat task
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "@@ -5,6 +5,7 @@ import \"hardhat-typechain\";\nimport { HardhatUserConfig } from \"hardhat/types\";\nimport * as packageJson from \"./package.json\";\n+import \"....
TypeScript
MIT License
connext/vector
refactor createChannel into a proper hardhat task
131,895
18.12.2020 15:19:46
-19,080
737064a4d6934edb9b018f0f57e2e5fad371c93b
turn displayAccounts into a hardhat task
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "@@ -6,6 +6,7 @@ import { HardhatUserConfig } from \"hardhat/types\";\nimport * as packageJson from \"./package.json\";\nimport \"./src.ts/tasks/createChannel\";\n...
TypeScript
MIT License
connext/vector
turn displayAccounts into a hardhat task
131,895
18.12.2020 15:28:54
-19,080
11fac4aa97aa98eff8cf6b9fb75cdc3d454d9665
turn registerTransfer into a hardhat task
[ { "change_type": "MODIFY", "old_path": "modules/contracts/deploy/deploy.ts", "new_path": "modules/contracts/deploy/deploy.ts", "diff": "@@ -4,7 +4,7 @@ import { formatEther } from \"@ethersproject/units\";\nimport { deployments, ethers, getNamedAccounts, getChainId } from \"hardhat\";\nimport { Depl...
TypeScript
MIT License
connext/vector
turn registerTransfer into a hardhat task
131,894
18.12.2020 11:25:57
-3,600
7377e2d657d1e86f82b1063246d70a48149a0819
Fix request collateral bug
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/rebalance.ts", "new_path": "modules/router/src/services/rebalance.ts", "diff": "@@ -7,7 +7,9 @@ export const getRebalanceProfile = async (\nchainId: number,\nassetId: string,\n): Promise<Result<RebalanceProfile, ForwardTransferError...
TypeScript
MIT License
connext/vector
Fix request collateral bug
131,894
18.12.2020 12:06:44
-3,600
8c6aa2b95b3ffb918ee8e208fa3548439643c1f9
Queue updates and add cancellations
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -343,61 +343,43 @@ export async function forwardTransferCreation(\n};\nconst transfer = await nodeService.conditionalTransfer(params);\nif (transfer.isError) {\n+ //...
TypeScript
MIT License
connext/vector
Queue updates and add cancellations
131,905
18.12.2020 18:24:39
25,200
6e00306ef3c33192efb8b79c1ed8ce6b2e9efe4f
WIP: router migration moved to node-level
[ { "change_type": "MODIFY", "old_path": "modules/router/ops/entry.sh", "new_path": "modules/router/ops/entry.sh", "diff": "@@ -47,9 +47,9 @@ fi\n########################################\n# Launch it\n-echo \"Running database migration\"\n-prisma --version\n-prisma migrate up --experimental\n+# echo \...
TypeScript
MIT License
connext/vector
WIP: router migration moved to node-level
131,894
20.12.2020 09:55:14
-3,600
b9d3a979f243cc945e310f1859518dc692580b65
Remove migrate
[ { "change_type": "MODIFY", "old_path": "modules/server-node/ops/entry.sh", "new_path": "modules/server-node/ops/entry.sh", "diff": "@@ -54,8 +54,8 @@ fi\n# Launch it\necho \"Running database migration\"\n-prisma --version\n-prisma migrate up --experimental\n+# prisma --version\n+# prisma migrate up ...
TypeScript
MIT License
connext/vector
Remove migrate
131,894
20.12.2020 18:48:33
-3,600
9a451350f7f8e87dbf627ed5ed279283cfc6e559
Router db config
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/router/migrations/20201220171143-init/README.md", "diff": "+# Migration `20201220171143-init`\n+\n+This migration has been generated at 12/20/2020, 5:11:43 PM.\n+You can check out the [state of the schema](./schema.prisma) after the migr...
TypeScript
MIT License
connext/vector
Router db config
131,905
20.12.2020 22:15:55
25,200
1b208bd37d457671aba442af3aa8657299254242
queue if cannot collateralize
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -304,31 +304,7 @@ export async function forwardTransferCreation(\nrouterPublicIdentifier === recipientChannel.aliceIdentifier ? \"alice\" : \"bob\",\n);\n- if (BigNu...
TypeScript
MIT License
connext/vector
queue if cannot collateralize
131,905
20.12.2020 22:16:22
25,200
e072325538d11b3c4b7181807c6921962fa5852b
WIP: logic to protect against repeated transfers
[ { "change_type": "MODIFY", "old_path": "modules/router/src/collateral.ts", "new_path": "modules/router/src/collateral.ts", "diff": "@@ -11,6 +11,7 @@ export class RequestCollateralError extends VectorError {\nstatic readonly reasons = {\nChannelNotFound: \"Channel not found\",\n+ CouldNotGetOnchainD...
TypeScript
MIT License
connext/vector
WIP: logic to protect against repeated transfers
131,894
21.12.2020 11:12:12
-3,600
384452a6c68a49cc661a5e94435f7dbd8765e6d3
More ops fixes
[ { "change_type": "MODIFY", "old_path": "ops/start-router.sh", "new_path": "ops/start-router.sh", "diff": "@@ -126,7 +126,8 @@ bash \"$root/ops/pull-images.sh\" \"$database_image\" > /dev/null\n# database connection settings\npg_db=\"$project\"\npg_user=\"$project\"\n-pg_dev_port=\"5434\"\n+pg_dev_po...
TypeScript
MIT License
connext/vector
More ops fixes
131,894
21.12.2020 15:37:17
-3,600
fad3969d60e2a1da036c43595a368b0b24c703dd
Fix request collateral
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -307,8 +307,9 @@ server.post<{ Body: NodeParams.RequestSetup }>(\ntimeout: request.body.timeout,\n});\ntry {\n- const res = await engine.request<\"chan_requestSetup\...
TypeScript
MIT License
connext/vector
Fix request collateral
131,894
21.12.2020 16:18:05
-3,600
5de2b2bfbd97780cdd787ce761489e0960632dd7
Change amounts
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "@@ -24,7 +24,7 @@ describe(testName, () => {\ncarolEvts,\nrandomIndex,\n);\n- const min = utils.parseEther(\"0.1\");\n+ const min = utils.parseEther...
TypeScript
MIT License
connext/vector
Change amounts