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,903
05.11.2020 17:05:14
-3,600
51a0e25374404e7103dc7917b071328d60cd248f
Clean up use of ethers constants
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "import { MinimalTransaction, WithdrawCommitmentJson, WithdrawDataEncoding } from \"@connext/vector-types\";\nimport { recoverAddressFrom...
TypeScript
MIT License
connext/vector
Clean up use of ethers constants
131,903
05.11.2020 17:35:44
-3,600
e26e16c0f9495ce8cc8812aab9cdb429293213ff
Move TODO to better place
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -98,7 +98,6 @@ export class WithdrawCommitment {\n[WithdrawDataEncoding],\n[withdrawData],\n);\n- // TODO: include commitment type\nr...
TypeScript
MIT License
connext/vector
Move TODO to better place
131,903
05.11.2020 17:37:55
-3,600
0ddd5e0e143937581ba3c356472b729c74ff3798
Simplification in `withdraw.ts`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -104,18 +104,8 @@ export class WithdrawCommitment {\nif (!this.signatures || this.signatures.length === 0) {\nthrow new Error(`No sig...
TypeScript
MIT License
connext/vector
Simplification in `withdraw.ts`
131,905
05.11.2020 13:54:39
25,200
7fb32fa3b9b7607e043c70c0c9c5f9652a997632
WIP add withdrawals to test
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "-import { getRandomBytes32, RestServerNodeService, expect } from \"@connext/vector-utils\";\n+import {\n+ getRandomBytes32,\n+ RestServerNodeService...
TypeScript
MIT License
connext/vector
WIP add withdrawals to test
131,894
05.11.2020 14:38:46
28,800
f01d62685e6df69f5ae444ea17f5c4cd82e51739
Browser node compiles
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -5,9 +5,8 @@ import {\nChannelRpcMethods,\nEngineEvents,\nEngineEventMap,\n- ChannelRpcMethodsPayloadMap,\n- ChannelRpcMethodsResponsesMap,\nIV...
TypeScript
MIT License
connext/vector
Browser node compiles
131,894
05.11.2020 15:38:54
28,800
b4ad1912d31ef26f188e5db6f04a26e9f1ec5f3b
Iframe app working
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/src/ConnextManager.tsx", "new_path": "modules/iframe-app/src/ConnextManager.tsx", "diff": "import { Wallet, utils } from \"ethers\";\nimport { BrowserNode } from \"@connext/vector-browser-node\";\n-import { JsonRpcRequest, ChannelRpcMethod }...
TypeScript
MIT License
connext/vector
Iframe app working
131,894
05.11.2020 16:55:42
28,800
daf08d24eb65ac3e2d65b56a61616cbf233b6e15
Implement iframe
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -29,6 +29,15 @@ export function payloadId(): number {\nreturn date + extra;\n}\n+export function renderElement(name: string, attr: any, target:...
TypeScript
MIT License
connext/vector
Implement iframe
131,905
05.11.2020 23:57:45
25,200
99483f81e97458b861e0b210eff207ad8b4856d9
Deploy on withdraw if channel is not deployed
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -120,6 +120,7 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nchannelState: FullChannelState,\nmin...
TypeScript
MIT License
connext/vector
Deploy on withdraw if channel is not deployed
131,905
05.11.2020 23:59:11
25,200
2d243369da67cd34d830ed2e6f31fea7d5d4ecf1
add withdraw to trio test
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "-import {\n- getRandomBytes32,\n- RestServerNodeService,\n- expect,\n- getSignerAddressFromPublicIdentifier,\n-} from \"@connext/vector-utils\";\n+i...
TypeScript
MIT License
connext/vector
add withdraw to trio test
131,903
06.11.2020 18:26:06
-3,600
7be20331464c5960ef94132ab7ae9eb2dde4236c
Logic change: always transfer funds, optionally make additional call We always transfer the funds to the recipient and can optionally make an _additional_ call to a given contract address (which, in most cases, will be the same as the recipient of the funds) with given call data.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -51,26 +51,32 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\nrequire(!isExecuted[wdHash], \"CMCWithdraw: Transaction has alread...
TypeScript
MIT License
connext/vector
Logic change: always transfer funds, optionally make additional call We always transfer the funds to the recipient and can optionally make an _additional_ call to a given contract address (which, in most cases, will be the same as the recipient of the funds) with given call data.
131,903
06.11.2020 22:26:15
-3,600
ad1b696dec33bee51b23ee45d16a2ca32a4efc3b
Change order of checks This order should allow the HashlockTransfer to work with pure-evm when expiry is 0.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/transferDefinitions/HashlockTransfer.sol", "new_path": "modules/contracts/src.sol/transferDefinitions/HashlockTransfer.sol", "diff": "@@ -41,7 +41,7 @@ contract HashlockTransfer is ITransferDefinition {\nrequire(balance.amount[1] == 0...
TypeScript
MIT License
connext/vector
Change order of checks This order should allow the HashlockTransfer to work with pure-evm when expiry is 0.
131,903
06.11.2020 22:25:23
-3,600
820b18800d25b5dc77a40c75d8cd99cdcfeab4ab
Reduce boilerplate in transfer definitions
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/ITransferDefinition.sol", "new_path": "modules/contracts/src.sol/interfaces/ITransferDefinition.sol", "diff": "@@ -17,12 +17,15 @@ interface ITransferDefinition {\nbytes calldata\n) external view returns (Balance memory);\n...
TypeScript
MIT License
connext/vector
Reduce boilerplate in transfer definitions
131,903
06.11.2020 23:22:22
-3,600
e2b96a846950e8a5c52463086d29cd4cff3dd936
Use OpenZeppelin's `Ownable`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/TransferRegistry.sol", "new_path": "modules/contracts/src.sol/TransferRegistry.sol", "diff": "@@ -5,6 +5,7 @@ pragma experimental ABIEncoderV2;\nimport \"./interfaces/ITransferRegistry.sol\";\nimport \"./interfaces/Types.sol\";\nimpor...
TypeScript
MIT License
connext/vector
Use OpenZeppelin's `Ownable`
131,903
06.11.2020 23:56:45
-3,600
710af38d06af33c9eac646c01bc0d2451094d90c
Improve/fix comment
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -25,9 +25,10 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\n}\n/// @param wd The withdraw data consisting of\n- /// \"semantic ...
TypeScript
MIT License
connext/vector
Improve/fix comment
131,905
08.11.2020 22:37:59
25,200
60e2b45848d7d5198ffb837c86d30ad370e34d6f
deploy to arbitrum
[ { "change_type": "MODIFY", "old_path": "address-book.json", "new_path": "address-book.json", "diff": "\"runtimeCodeHash\": \"0xceb802c57b53a26d40be735cefda6f922a3d4d7a0bd3b4056c242aa07099a8d6\",\n\"txHash\": \"0xc21f8759a9cfe5fa44a312dd79b02827858a4a8e6027480e7af2832b99cb873b\"\n}\n+ },\n+ \"1527096...
TypeScript
MIT License
connext/vector
deploy to arbitrum
131,905
08.11.2020 22:38:23
25,200
ffbf2036ec6c2502281ce8f049a2607a8158b6a0
Enforce minimum gas limit
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/actions/deployContracts.ts", "new_path": "modules/contracts/src.ts/actions/deployContracts.ts", "diff": "import { AddressZero, EtherSymbol } from \"@ethersproject/constants\";\n-import { Contract, ContractFactory, Wallet, utils } from ...
TypeScript
MIT License
connext/vector
Enforce minimum gas limit
131,905
08.11.2020 22:38:32
25,200
83495b9a858d989d3ceb03b7e0f3ad23a2c7d92a
Increase roger funding
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "@@ -55,7 +55,7 @@ describe(testName, () => {\n);\nrogerIdentifier = rogerService.publicIdentifier;\nroger = rogerService.signerAddress;\n- await fun...
TypeScript
MIT License
connext/vector
Increase roger funding
131,903
09.11.2020 17:19:15
-3,600
13bb2c0665f7f7660ee723ff330c1606f093530b
Shorten revert message
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -19,7 +19,7 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\nmodifier validateWithdrawData(WithdrawData calldata wd) {\nrequire(\...
TypeScript
MIT License
connext/vector
Shorten revert message
131,903
09.11.2020 17:21:48
-3,600
c241435af3341762f5e47dba7cd3d7af1e58463e
Add test for wrong channel address
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/withdraw.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/withdraw.spec.ts", "diff": "@@ -133,6 +133,28 @@ describe(\"CMCWithdraw.sol\", () => {\nexpect(await channel.getWithdrawalTransactionRecord(withdrawData)).t...
TypeScript
MIT License
connext/vector
Add test for wrong channel address
131,903
09.11.2020 17:33:14
-3,600
18727d05a01d27d202f7d019f87ca649d739935b
Add `WithdrawHelper` interface
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/contracts/src.sol/interfaces/WithdrawHelper.sol", "diff": "+// SPDX-License-Identifier: UNLICENSED\n+pragma solidity ^0.7.1;\n+pragma experimental ABIEncoderV2;\n+\n+import \"./Types.sol\";\n+\n+interface WithdrawHelper {\n+\n+ function ...
TypeScript
MIT License
connext/vector
Add `WithdrawHelper` interface
131,903
09.11.2020 17:32:29
-3,600
88acdefeca1d1f82606bde995b2625a571692ca1
Optionally call helper contract in withdrawals
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -4,6 +4,7 @@ pragma experimental ABIEncoderV2;\nimport \"./interfaces/ICMCWithdraw.sol\";\nimport \"./interfaces/Types.sol\";\n+import \"./interfac...
TypeScript
MIT License
connext/vector
Optionally call helper contract in withdrawals
131,903
09.11.2020 18:50:47
-3,600
1f055e1bfc9ffab3683809c3f665f98625b0f20e
`FailingToken` contract can now revert when sent Ether Since we're using the `FailingToken` already to test failing transfers of token, it seems convenient to just use this contract to test failing transfers of Ether too by adding a `receive` function that optionally reverts.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/testing/FailingToken.sol", "new_path": "modules/contracts/src.sol/testing/FailingToken.sol", "diff": "@@ -14,12 +14,19 @@ contract FailingToken is ERC20 {\nbool public transferShouldRevert;\nbool public transferShouldFail;\n+ bool pub...
TypeScript
MIT License
connext/vector
`FailingToken` contract can now revert when sent Ether Since we're using the `FailingToken` already to test failing transfers of token, it seems convenient to just use this contract to test failing transfers of Ether too by adding a `receive` function that optionally reverts.
131,903
09.11.2020 19:01:31
-3,600
c87a4c52c42bf6eee8a9d68c481a8fc933a7469a
Add tests for failing transfers of Ether or ERC20 token
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/withdraw.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/withdraw.spec.ts", "diff": "@@ -36,6 +36,8 @@ describe(\"CMCWithdraw.sol\", () => {\nawait dontRevert.wait();\nconst dontFail = await failingToken.setTransf...
TypeScript
MIT License
connext/vector
Add tests for failing transfers of Ether or ERC20 token
131,905
09.11.2020 12:14:57
25,200
a3556d6c8701ac15a51fd566467e099ad09d254b
ChainId stored as string in db
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/migrations/20201109190051-chainid-string/README.md", "diff": "+# Migration `20201109190051-chainid-string`\n+\n+This migration has been generated by LayneHaber at 11/9/2020, 12:00:51 PM.\n+You can check out the [state of the ...
TypeScript
MIT License
connext/vector
ChainId stored as string in db
131,903
09.11.2020 21:17:21
-3,600
e402326f9cdc63a44a76a05ecae03b7d491c2b5b
Fix: register amount that was actually transferred
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -137,7 +137,7 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\nuint256 amount = LibUtils.min(maxAmount, balance);\nemergencyWithdrawable...
TypeScript
MIT License
connext/vector
Fix: register amount that was actually transferred
131,905
09.11.2020 20:44:31
25,200
6513864c5d8f3864ad3658e60c866f95856f1ece
Update store to fix unique constraints, chainId string
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/migrations/20201109200837-chainid-string-tx/README.md", "diff": "+# Migration `20201109200837-chainid-string-tx`\n+\n+This migration has been generated by LayneHaber at 11/9/2020, 1:08:37 PM.\n+You can check out the [state of...
TypeScript
MIT License
connext/vector
Update store to fix unique constraints, chainId string
131,905
09.11.2020 20:44:52
25,200
66c98b852a91cc0d0267613fb644e15140ee44e0
Increase timeout (multiple onchain txs potentially)
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -414,7 +414,7 @@ export class VectorEngine implements IVectorEngine {\nthis.logger.info({ channelAddress: params.channelAddress, transferId }, \"Withdraw transfer created\");\...
TypeScript
MIT License
connext/vector
Increase timeout (multiple onchain txs potentially)
131,905
09.11.2020 20:46:00
25,200
8d45b382b9a60444316aff959f92bf1fd174d700
Consistent create return values
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/ChannelFactory.sol", "new_path": "modules/contracts/src.sol/ChannelFactory.sol", "diff": "@@ -60,7 +60,7 @@ contract ChannelFactory is IChannelFactory, MinimalProxyFactory {\noverride\nreturns (address channel)\n{\n- return _createCha...
TypeScript
MIT License
connext/vector
Consistent create return values
131,905
09.11.2020 21:27:26
25,200
ae5ad0d0bc07f153df9e68cf74bc2957ff935a88
handle failed transactions more cleanly
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -152,9 +152,13 @@ export class EthereumChainService extends EthereumChainReader implements IVector\nresolve();\n}),\n);\n- const txRes ...
TypeScript
MIT License
connext/vector
handle failed transactions more cleanly
131,903
10.11.2020 16:26:43
-3,600
2590f4a7b8b3ca78f02e76cae805ec759bd9a6c6
Refactor (1)
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibAsset.sol", "new_path": "modules/contracts/src.sol/lib/LibAsset.sol", "diff": "@@ -3,6 +3,7 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nimport \"./LibERC20.sol\";\n+import \"./LibUtils.sol\";\nimport \"@openz...
TypeScript
MIT License
connext/vector
Refactor (1)
131,903
10.11.2020 16:29:50
-3,600
be3c90e2bc316d5c1371318c061327cfbf5857d7
Refactor (2)
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibERC20.sol", "new_path": "modules/contracts/src.sol/lib/LibERC20.sol", "diff": "@@ -8,15 +8,6 @@ import \"@openzeppelin/contracts/utils/Address.sol\";\nlibrary LibERC20 {\n- function checkResult(bool success, bytes memory return...
TypeScript
MIT License
connext/vector
Refactor (2)
131,903
10.11.2020 18:14:24
-3,600
e0d09389d7d9ddc2d8e518ba487cb2d36a7cf5ef
Add revert reason
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibERC20.sol", "new_path": "modules/contracts/src.sol/lib/LibERC20.sol", "diff": "@@ -19,7 +19,7 @@ library LibERC20 {\ninternal\nreturns (bool)\n{\n- require(Address.isContract(assetId));\n+ require(Address.isContract(assetId), \...
TypeScript
MIT License
connext/vector
Add revert reason
131,900
11.11.2020 00:01:45
-19,080
5f6648bf3d16daca345980c9ee20c19b9e18018d
add: deposit & withdraw flow
[ { "change_type": "MODIFY", "old_path": "cypress.json", "new_path": "cypress.json", "diff": "{\n- \"baseUrl\": \"http://localhost:3333\"\n+ \"baseUrl\": \"http://localhost:3333\",\n+ \"env\": {\n+ \"NETWORK\": \"http://localhost:8545\",\n+ \"MNEMONIC\": \"candy maple cake sugar pudding cream honey ri...
TypeScript
MIT License
connext/vector
add: deposit & withdraw flow
131,905
10.11.2020 12:49:27
25,200
4e1fa1b82db3ac6a39917ccdb746c5bef6bb4d9a
proper connext versions
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/package.json", "new_path": "modules/iframe-app/package.json", "diff": "{\n\"name\": \"iframe-app\",\n- \"version\": \"0.1.0\",\n+ \"version\": \"0.0.1\",\n\"private\": true,\n\"dependencies\": {\n- \"@connext/vector-browser-node\": \"0.0.6-b...
TypeScript
MIT License
connext/vector
proper connext versions
131,903
10.11.2020 22:05:52
-3,600
f575d3d67d30cf0ed1d666b64d1e81daff31c895
Use commitment type for channel state commitment
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -252,9 +252,12 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nbytes calldata aliceSignature,\nbytes calldata bobSig...
TypeScript
MIT License
connext/vector
Use commitment type for channel state commitment
131,905
10.11.2020 20:24:37
25,200
ad4c0bb651be012d1f15da49c497130f9820fb09
Make channel deploy fn
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -13,6 +13,7 @@ import { delay, encodeTransferResolver, encodeTransferState } from \"@connext/vec\nimport { BigNumber, constants, Contra...
TypeScript
MIT License
connext/vector
Make channel deploy fn
131,905
10.11.2020 20:24:48
25,200
8617f50597af8703276712119efed246da42f0fb
Add autodeploy chains
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -19,6 +19,7 @@ import {\nWITHDRAWAL_RECONCILED_EVENT,\nChannelRpcMethods,\nIExternalValidation,\n+ AUTODEPLOY_CHAIN_IDS,\n} from \"@connext/vector-types\";\nimport pino from \...
TypeScript
MIT License
connext/vector
Add autodeploy chains
131,900
11.11.2020 22:13:50
-19,080
755e2c889a5d330fdd08fa4083db2eeac84aeb2f
add: transfer test
[ { "change_type": "MODIFY", "old_path": "cypress/integration/4_deposit.spec.js", "new_path": "cypress/integration/4_deposit.spec.js", "diff": "@@ -6,7 +6,6 @@ const address = \"0x627306090abaB3A6e1400e9345bC60c78a8BEf57\"\ndescribe(\"Deposit\", () => {\nbeforeEach(() => {\ncy.request(\"http://localho...
TypeScript
MIT License
connext/vector
add: transfer test
131,903
10.11.2020 22:36:45
-3,600
a7a404d182eb485063ff502cf7ab34099840adc0
Move type definitions only used in adjudicator to its interface
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -4,6 +4,7 @@ pragma experimental ABIEncoderV2;\nimport \"./interfaces/ICMCAdjudicator.sol\";\nimport \"./interfaces/ITransferDefinition.sol\"...
TypeScript
MIT License
connext/vector
Move type definitions only used in adjudicator to its interface
131,903
10.11.2020 22:43:36
-3,600
f4217150cebe4d334839c74a5da85c23b46837b6
Move adjudicator event declarations to its interface
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -16,21 +16,6 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nusing LibChannelCrypto for bytes32;\nusing SafeMath for...
TypeScript
MIT License
connext/vector
Move adjudicator event declarations to its interface
131,903
11.11.2020 16:57:34
-3,600
ae304462aa8e2100a339011dd1bb1d036ceeb7e0
Move `RegisteredTransfer` to transfer registry interface ... and accompanying changes.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/TransferRegistry.sol", "new_path": "modules/contracts/src.sol/TransferRegistry.sol", "diff": "@@ -3,7 +3,6 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nimport \"./interfaces/ITransferRegistry.sol\";\n-import \"./inte...
TypeScript
MIT License
connext/vector
Move `RegisteredTransfer` to transfer registry interface ... and accompanying changes.
131,905
11.11.2020 12:09:46
25,200
2495b19a50eb44c8f12469cd5d3b54d35db4e406
Fix BigNumber import
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/actions/deployContracts.ts", "new_path": "modules/contracts/src.ts/actions/deployContracts.ts", "diff": "import { AddressZero, EtherSymbol } from \"@ethersproject/constants\";\n-import { BigNumber } from \"ethers\";\n+import { BigNumbe...
TypeScript
MIT License
connext/vector
Fix BigNumber import
131,905
11.11.2020 14:17:20
25,200
89d6a1e8afcc62a8dca77dc29690c69e358ea989
Add call to/data to transfer state
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/transferDefinitions/Withdraw.sol", "new_path": "modules/contracts/src.sol/transferDefinitions/Withdraw.sol", "diff": "@@ -19,6 +19,8 @@ contract Withdraw is TransferDefinition {\nbytes32 data;\nuint256 nonce; // included so that each ...
TypeScript
MIT License
connext/vector
Add call to/data to transfer state
131,905
11.11.2020 14:17:27
25,200
e67a9872ba137f6a743aa5e56b73ddf1c3076312
Update withdraw commitment
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -18,6 +18,8 @@ export class WithdrawCommitment {\npublic readonly assetId: string,\npublic readonly amount: string,\npublic readonly ...
TypeScript
MIT License
connext/vector
Update withdraw commitment
131,894
11.11.2020 18:36:05
28,800
5f99112092bbe0fc8d7137e05b9c76fc1651cd83
Update iframe UI to remove mnemonic
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/package.json", "new_path": "modules/iframe-app/package.json", "diff": "\"version\": \"0.0.1\",\n\"private\": true,\n\"dependencies\": {\n- \"@connext/vector-browser-node\": \"0.0.6-beta.1\",\n- \"@connext/vector-types\": \"0.0.6-beta.1\",\n-...
TypeScript
MIT License
connext/vector
Update iframe UI to remove mnemonic
131,903
12.11.2020 14:20:54
-3,600
d7f55830d22564ab65d991723fa8d264b7832fa4
Adapt revert message to recent style change
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibERC20.sol", "new_path": "modules/contracts/src.sol/lib/LibERC20.sol", "diff": "@@ -19,7 +19,7 @@ library LibERC20 {\ninternal\nreturns (bool)\n{\n- require(Address.isContract(assetId), \"LibERC20: No code at address\");\n+ requ...
TypeScript
MIT License
connext/vector
Adapt revert message to recent style change
131,903
12.11.2020 14:34:00
-3,600
d46913ef3289b0a9505fb85570a9945b7d3bb672
Emergency withdraw reverts if withdrawable amount is 0
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -136,7 +136,8 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\nuint256 balance = LibAsset.getOwnBalance(assetId);\nuint256 amount = LibU...
TypeScript
MIT License
connext/vector
Emergency withdraw reverts if withdrawable amount is 0
131,900
12.11.2020 20:33:12
-19,080
8450d535e0b35b2710f6001f0937dbb4f626fdf1
chg: restrucutre test
[ { "change_type": "ADD", "old_path": null, "new_path": "cypress/integration/0_config.spec.js", "diff": "+import my from \"./utils\";\n+const carolUrl = \"http://localhost:8005\"; // Node A\n+const daveUrl = \"http://localhost:8006\"; // Node B\n+\n+const routerUrl = \"http://localhost:8007\";\n+\n+co...
TypeScript
MIT License
connext/vector
chg: restrucutre test
131,903
12.11.2020 18:52:41
-3,600
206c7bed980b4226c16e0335f23064aaaa961bec
Move `WithdrawData` definition from `Types` to `ICMCWithdraw`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -3,7 +3,6 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nimport \"./interfaces/ICMCWithdraw.sol\";\n-import \"./interfaces/Types.so...
TypeScript
MIT License
connext/vector
Move `WithdrawData` definition from `Types` to `ICMCWithdraw`
131,905
12.11.2020 11:19:37
25,200
b2e7465e2f7ad472636beaf24a4122974dbd79ae
Dispute methods to rpc calls
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/engine.ts", "new_path": "modules/types/src/schemas/engine.ts", "diff": "@@ -110,6 +110,29 @@ const WithdrawParamsSchema = Type.Object({\nmeta: TBasicMeta,\n});\n+//////////////////\n+/// Dispute Methods\n+\n+// Dispute channel engine ...
TypeScript
MIT License
connext/vector
Dispute methods to rpc calls
131,903
12.11.2020 19:20:11
-3,600
8d7015af43397c7061e07d22d236fd98988836a7
Move getter higher up
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -20,6 +20,17 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\n_;\n}\n+ function getWithdrawalTransactionRecord(WithdrawData calld...
TypeScript
MIT License
connext/vector
Move getter higher up
131,903
12.11.2020 19:44:21
-3,600
7c886e2ce5a99f4d8a161b7f0cba7f9b08df1f7e
Add forgotten changelog update
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/changelog.md", "new_path": "modules/documentation/docs/changelog.md", "diff": "- implement generalized withdrawals\n- fix and minor improvements around asset transfers\n+- shorter revert message style and contract tests speedup\n- mi...
TypeScript
MIT License
connext/vector
Add forgotten changelog update
131,905
12.11.2020 11:45:44
25,200
a9a2ef84044df16bc0306f51b7f1729721139944
Implement dispute methods in engine, not server node
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -21,9 +21,12 @@ import {\nIExternalValidation,\nAUTODEPLOY_CHAIN_IDS,\n} from \"@connext/vector-types\";\n+import { utils } from \"ethers\";\nimport pino from \"pino\";\nimpor...
TypeScript
MIT License
connext/vector
Implement dispute methods in engine, not server node
131,905
12.11.2020 12:07:14
25,200
6bb1e0f57c87d1333e0c9a0738fb81528bf2a993
Move proof generation into service for watchers
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -9,16 +9,24 @@ import {\nTransactionReason,\nFullTransferState,\n} from \"@connext/vector-types\";\n-import { delay, encodeTransferReso...
TypeScript
MIT License
connext/vector
Move proof generation into service for watchers
131,903
12.11.2020 20:46:56
-3,600
4eeb275fad91d4e0917acbd0767fc99530197472
Move `CommitmentType` definition to separate file
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\n+import \"./interfaces/Commitment.sol\";\nimport \"./interfaces/ICMCAdjudicator.sol\...
TypeScript
MIT License
connext/vector
Move `CommitmentType` definition to separate file
131,903
12.11.2020 22:19:50
-3,600
34b39f11dde22a0b9e7293dc00167504c8d29b9b
Use commitment type for withdraw commitment
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\n+import \"./interfaces/Commitment.sol\";\nimport \"./interfaces/ICMCWithdraw.sol\";\nimpor...
TypeScript
MIT License
connext/vector
Use commitment type for withdraw commitment
131,905
12.11.2020 17:07:13
25,200
eaf346b0770d37f47bb2aaaf976407e2255bce6f
Offchain commitments match onchain ones
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "-import { MinimalTransaction, WithdrawCommitmentJson, WithdrawDataEncoding } from \"@connext/vector-types\";\n+import {\n+ MinimalTransa...
TypeScript
MIT License
connext/vector
Offchain commitments match onchain ones
131,905
12.11.2020 17:49:17
25,200
dd92dfb331ed27c178223009305ca5c5ac9fa3de
Use `.encode` over `.encodePacked`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -31,10 +31,7 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n}\nmodifier validateTransfer(CoreTransferState calldata...
TypeScript
MIT License
connext/vector
Use `.encode` over `.encodePacked`
131,905
12.11.2020 17:49:27
25,200
837970e565cd02213898e47dbc044ea34690c82c
Fix withdraw encoding
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -81,9 +81,10 @@ export class WithdrawCommitment {\n}\npublic hashToSign(): string {\n- const withdrawData = this.getWithdrawData();\n...
TypeScript
MIT License
connext/vector
Fix withdraw encoding
131,905
12.11.2020 17:49:48
25,200
d9b4819cacb351f9ba800ee585a315e12d68a805
Fix channel typing
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/channel.ts", "new_path": "modules/utils/src/channel.ts", "diff": "@@ -29,7 +29,7 @@ export const hashCoreChannelState = (state: CoreChannelState): string =>\n// );\nexport const hashChannelCommitment = (commitment: ChannelCommitmentData): str...
TypeScript
MIT License
connext/vector
Fix channel typing
131,905
12.11.2020 18:22:40
25,200
a820331ef8b980ef437e10ba172752a6de121bac
Fix channel hashing
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "diff": "@@ -10,6 +10,7 @@ import {\nexpect,\ngetRandomAddress,\ngetRandomBytes32,\n+ hashChannelCommitment,\nhashCoreChannelState,...
TypeScript
MIT License
connext/vector
Fix channel hashing
131,905
13.11.2020 10:26:52
25,200
e924c80d47ce78a8163feb693f069b09a1db2d8b
make transfer types generic
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/changelog.md", "new_path": "modules/documentation/docs/changelog.md", "diff": "- move dispute methods into engine\n- shorter revert message style and contract tests speedup\n- minor cleanup and reorganization related to types and int...
TypeScript
MIT License
connext/vector
make transfer types generic
131,894
13.11.2020 10:31:12
28,800
4e2bbff98a3ee4eb25a532086459f21543c91880
Fixes and logs
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -95,7 +95,7 @@ export class IframeChannelProvider extends EventEmitter<string> implements IRpcC\nif (this.iframe.contentWindow === null) {\nthr...
TypeScript
MIT License
connext/vector
Fixes and logs
131,894
13.11.2020 10:31:33
28,800
17bcb848d9e8c9233f37de414be23457ce89dab9
Local node config
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/config-node.json", "new_path": "modules/iframe-app/config-node.json", "diff": "{\n\"adminToken\": \"cxt1234\",\n- \"messagingUrl\": \"https://messaging.connext.network\",\n+ \"authUrl\": \"http://localhost:5040\",\n+ \"natsUrl\": \"ws://loca...
TypeScript
MIT License
connext/vector
Local node config
131,894
13.11.2020 10:31:45
28,800
ec9022c183ceba8fa17cee147592e5b927da57e0
Handle request
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/src/ConnextManager.tsx", "new_path": "modules/iframe-app/src/ConnextManager.tsx", "diff": "import { Wallet, utils } from \"ethers\";\nimport { BrowserNode } from \"@connext/vector-browser-node\";\n-import { JsonRpcRequest, EngineParams } fro...
TypeScript
MIT License
connext/vector
Handle request
131,905
13.11.2020 11:55:32
25,200
e20cbc66e307148b59c50b9cb1c456a8b1bdb4a9
Remove specialized commitment type
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/services/store.ts", "new_path": "modules/browser-node/src/services/store.ts", "diff": "import {\n- ChannelCommitmentData,\nChannelDispute,\nFullChannelState,\nFullTransferState,\n@@ -106,11 +105,7 @@ export class BrowserStore implement...
TypeScript
MIT License
connext/vector
Remove specialized commitment type
131,903
13.11.2020 20:05:35
-3,600
a8f65534e740f02d80368b71c7b09bf3f523aaa9
Minor fix: use `uint8` for Solidity enum
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -83,7 +83,7 @@ export class WithdrawCommitment {\npublic hashToSign(): string {\nconst encodedWithdrawData = defaultAbiCoder.encode([...
TypeScript
MIT License
connext/vector
Minor fix: use `uint8` for Solidity enum
131,905
13.11.2020 12:44:26
25,200
33153edbecdded777e92baa9afa1fa1b04d14618
Fix node store tests
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/services/store.spec.ts", "new_path": "modules/browser-node/src/services/store.spec.ts", "diff": "@@ -46,13 +46,7 @@ describe(\"store\", () => {\ndescribe(\"getChannelStateByParticipants\", () => {\nit(\"should work (regardless of order...
TypeScript
MIT License
connext/vector
Fix node store tests
131,894
13.11.2020 13:10:47
28,800
a5ffc62676568688993b1b42c44090167c4d1f4d
Fix browser node initialization
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/channelProvider.ts", "new_path": "modules/browser-node/src/channelProvider.ts", "diff": "@@ -57,22 +57,29 @@ export interface IRpcChannelProvider {\nexport class IframeChannelProvider extends EventEmitter<string> implements IRpcChannel...
TypeScript
MIT License
connext/vector
Fix browser node initialization
131,894
13.11.2020 17:15:25
28,800
d40779ff9c5ce14c00f0647ff05b8ef5ea3a2ce9
Fix auth/config, now works
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -34,12 +34,7 @@ export type BrowserNodeConfig = {\nchainProviders?: ChainProviders;\nchainAddresses?: ChainAddresses;\niframeSrc?: string;\n-};\n-\n-export type Br...
TypeScript
MIT License
connext/vector
Fix auth/config, now works
131,894
13.11.2020 17:30:05
28,800
962e681b102af5672dcc7e2e12296fa257b2878f
Implement random sig
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -9,8 +9,6 @@ import {\nEngineEventMap,\nIChannelSigner,\nINodeService,\n- IVectorChainService,\n- IVectorEngine,\nNodeError,\nOptionalPublicIdentifier,\nResult,\n@...
TypeScript
MIT License
connext/vector
Implement random sig
131,905
14.11.2020 17:08:39
25,200
abeb1ef016c54d56db0caaf7e44ef243e2d9ba7b
UpdateType generic
[ { "change_type": "MODIFY", "old_path": "modules/types/src/channel.ts", "new_path": "modules/types/src/channel.ts", "diff": "@@ -168,13 +168,13 @@ export type NetworkContext = ContractAddresses & {\nproviderUrl: string;\n};\n-export type ChannelUpdate<T extends UpdateType> = {\n+export type ChannelUp...
TypeScript
MIT License
connext/vector
UpdateType generic
131,894
15.11.2020 18:45:27
28,800
58440af680c80d4522717f0f59ed598faf80a3a3
Use requestSetup
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -221,7 +221,7 @@ export class BrowserNode implements INodeService {\nparams: OptionalPublicIdentifier<NodeParams.RequestSetup>,\n): Promise<Result<NodeResponses.Re...
TypeScript
MIT License
connext/vector
Use requestSetup
131,894
15.11.2020 19:45:28
28,800
a06bab945566ce852affb2086de82f66dfff351c
Update fastify and prisma
[ { "change_type": "MODIFY", "old_path": "modules/auth/package.json", "new_path": "modules/auth/package.json", "diff": "\"@connext/vector-utils\": \"0.0.11\",\n\"@sinclair/typebox\": \"0.11.0\",\n\"crypto\": \"1.0.1\",\n- \"fastify\": \"3.7.0\",\n+ \"fastify\": \"3.8.0\",\n\"fastify-cors\": \"4.1.0\",...
TypeScript
MIT License
connext/vector
Update fastify and prisma
131,894
15.11.2020 21:00:04
28,800
3780a770030adab469a3a5e7451a59afb241b9a9
Roll back store changes
[ { "change_type": "MODIFY", "old_path": "modules/server-node/package.json", "new_path": "modules/server-node/package.json", "diff": "\"@connext/vector-engine\": \"0.0.11\",\n\"@connext/vector-types\": \"0.0.11\",\n\"@connext/vector-utils\": \"0.0.11\",\n- \"@prisma/client\": \"2.11.0\",\n+ \"@prisma/...
TypeScript
MIT License
connext/vector
Roll back store changes
131,903
16.11.2020 12:59:01
-3,600
b3f4682dcab3b9fd2144efd8c64a561eae9179d8
Add forgotten function to interface for `TestChannel` ... and other minor changes.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/ITestChannel.sol", "new_path": "modules/contracts/src.sol/interfaces/ITestChannel.sol", "diff": "@@ -3,6 +3,7 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nimport \"./IVectorChannel.sol\";\n+import \"./Type...
TypeScript
MIT License
connext/vector
Add forgotten function to interface for `TestChannel` ... and other minor changes.
131,903
16.11.2020 12:59:02
-3,600
2aaaa64713c9e372eff1506229e491024d498edf
Use loop in `CMCAccountant`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAccountant.sol", "new_path": "modules/contracts/src.sol/CMCAccountant.sol", "diff": "@@ -19,19 +19,11 @@ contract CMCAccountant is\nfunction transferBalance(address assetId, Balance memory balance)\ninternal\n{\n- address payable r...
TypeScript
MIT License
connext/vector
Use loop in `CMCAccountant`
131,903
16.11.2020 12:59:02
-3,600
f6db2838d7feb1f61ab1c3c88026678cf6725545
Implement withdrawal pattern in `AssetTransfer` ... and remove code that has become useless as a result of this transition.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -5,7 +5,6 @@ pragma experimental ABIEncoderV2;\nimport \"./interfaces/IAssetTransfer.sol\";\nimport \"./CMCCore.sol\";\nimport \"./lib/LibAsset...
TypeScript
MIT License
connext/vector
Implement withdrawal pattern in `AssetTransfer` ... and remove code that has become useless as a result of this transition.
131,903
16.11.2020 12:59:03
-3,600
e9a3d65635c3784d408ad27edf98755f24c6ad4f
Adapt code in `TestChannel`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/ITestChannel.sol", "new_path": "modules/contracts/src.sol/interfaces/ITestChannel.sol", "diff": "@@ -10,7 +10,7 @@ interface ITestChannel is IVectorChannel {\naddress assetId,\naddress payable recipient,\nuint256 maxAmount\...
TypeScript
MIT License
connext/vector
Adapt code in `TestChannel`
131,903
16.11.2020 12:59:03
-3,600
d5435b8debafbda4ca0ff27a753f276be897a2e4
Move `onlySelf` modifier to `CMCAdjudicator` ... because that is the only place where it is still used.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -15,11 +15,6 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\nmapping(address => uint256) internal totalTransferred;\nmapping(address =>...
TypeScript
MIT License
connext/vector
Move `onlySelf` modifier to `CMCAdjudicator` ... because that is the only place where it is still used.
131,903
16.11.2020 12:59:03
-3,600
e9609f42be7a6ff4ebe71f2a4ab7e2c80023edda
Remove obsolete code from `LibERC20`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibERC20.sol", "new_path": "modules/contracts/src.sol/lib/LibERC20.sol", "diff": "@@ -11,16 +11,9 @@ library LibERC20 {\nfunction wrapCall(address assetId, bytes memory callData)\ninternal\nreturns (bool)\n- {\n- return wrapCall(a...
TypeScript
MIT License
connext/vector
Remove obsolete code from `LibERC20`
131,905
16.11.2020 10:04:22
25,200
aa8f1e2af151c1ece55a08579d0690e7dc9c67a2
Restore previously existing update tests
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/testing/update.spec.ts", "new_path": "modules/protocol/src/testing/update.spec.ts", "diff": "@@ -8,10 +8,11 @@ import {\nValues,\nNetworkContext,\nResult,\n- ChannelUpdate,\n- DEFAULT_TRANSFER_TIMEOUT,\nBalance,\n- TransferNames,\n+ Hashlo...
TypeScript
MIT License
connext/vector
Restore previously existing update tests
131,905
16.11.2020 11:46:33
25,200
9b8a6d61948235ce93fed6129aa99322f7b49460
Add `getActiveTransfers`
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/vector.ts", "new_path": "modules/protocol/src/vector.ts", "diff": "@@ -312,7 +312,6 @@ export class Vector implements IVectorProtocol {\nprivate validateParams(params: any, schema: any): undefined | OutboundChannelUpdateError {\nconst vali...
TypeScript
MIT License
connext/vector
Add `getActiveTransfers`
131,905
16.11.2020 12:06:04
25,200
8822e769a074501e63cc2a0d7a0a178a08a59740
Finish update tests
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/testing/update.spec.ts", "new_path": "modules/protocol/src/testing/update.spec.ts", "diff": "@@ -13,6 +13,8 @@ import {\nHashlockTransferResolverEncoding,\nIChannelSigner,\nUpdateParams,\n+ OutboundChannelUpdateError,\n+ ChainError,\n} fro...
TypeScript
MIT License
connext/vector
Finish update tests
131,894
16.11.2020 11:59:40
28,800
b8d1190cada20d6a2d26c7fc9809b4f0fe98f0b7
Attempt to persist iframe connection
[ { "change_type": "MODIFY", "old_path": "modules/iframe-app/src/ConnextManager.tsx", "new_path": "modules/iframe-app/src/ConnextManager.tsx", "diff": "@@ -33,8 +33,13 @@ export default class ConnextManager {\n// since the signature depends on the private key stored by Magic/Metamask, this is not forg...
TypeScript
MIT License
connext/vector
Attempt to persist iframe connection
131,905
16.11.2020 17:44:13
25,200
d0dd712c651e9f1190a16ad99b6f32bf826e8bf6
Add reentrancy deposit test
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/contracts/src.sol/testing/ReentrantToken.sol", "diff": "+// SPDX-License-Identifier: MIT\n+pragma solidity ^0.7.1;\n+\n+import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n+import \"../interfaces/IVectorChannel.sol\";\n+\n+contrac...
TypeScript
MIT License
connext/vector
Add reentrancy deposit test
131,895
17.11.2020 15:12:57
-19,080
09a102ab9242f6e606edd519426fcca203e44ea6
remove chainId args This reverts commit
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/ChannelFactory.sol", "new_path": "modules/contracts/src.sol/ChannelFactory.sol", "diff": "@@ -34,8 +34,7 @@ contract ChannelFactory is IChannelFactory, MinimalProxyFactory {\n/// @param bob address of the other channel participant\nfu...
TypeScript
MIT License
connext/vector
remove chainId args This reverts commit 6ada4eb206ce4ed64cbaa96575f14318caba9c55.
131,894
17.11.2020 10:14:36
28,800
444a3fe17f9570cb0f034ba5632c095e71323ca9
Add decrypt method
[ { "change_type": "MODIFY", "old_path": "modules/types/src/vectorProvider.ts", "new_path": "modules/types/src/vectorProvider.ts", "diff": "@@ -24,6 +24,7 @@ export const ChannelRpcMethods = {\nchan_defund: \"chan_defund\",\nchan_disputeTransfer: \"chan_disputeTransfer\",\nchan_defundTransfer: \"chan_...
TypeScript
MIT License
connext/vector
Add decrypt method
131,905
17.11.2020 11:26:30
25,200
4f0e6f30f6480856685d420bea5515f5a5431ece
Add support for assetId array in defund
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -81,7 +81,7 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nemit ChannelDisputed(msg.sender, address(this), channelD...
TypeScript
MIT License
connext/vector
Add support for assetId array in defund
131,905
17.11.2020 11:47:23
25,200
3d1350302cccd3e7ef4342949aa12308990c229e
Update tests, add failing test
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "diff": "@@ -136,7 +136,7 @@ describe(\"CMCAdjudicator.sol\", async function() {\nconst preDefundBob = await Promise.all(ccs.assetI...
TypeScript
MIT License
connext/vector
Update tests, add failing test
131,894
17.11.2020 12:03:00
28,800
94c07e3784ea552ea76810cb4ee68cdebe06b95a
Fix event key issue
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -5,6 +5,7 @@ import {\ncreatelockHash,\ngetBalanceForAssetId,\ngetRandomBytes32,\n+ delay,\n} from \"@connext/vector-utils\";\nimport React, { useEffect, useState } from \"rea...
TypeScript
MIT License
connext/vector
Fix event key issue
131,898
17.11.2020 15:52:03
18,000
c4b0a8d4c80f95df30990b163e59d3ecde313895
Add kovan addresses to address book
[ { "change_type": "MODIFY", "old_path": "address-book.json", "new_path": "address-book.json", "diff": "\"txHash\": \"0x2463d2adabad01c24b4d3d5bb357d3796168cbf09e47507bf060a843b6ab19d8\"\n}\n},\n+ \"42\": {\n+ \"TestToken\": {\n+ \"address\": \"0x880da7dDaca7DAd63F7E3cf6a0cfdD8e3D565FF8\",\n+ \"creati...
TypeScript
MIT License
connext/vector
Add kovan addresses to address book
131,905
17.11.2020 16:35:05
25,200
89277f0978ea21e40260cd44bb8a482fa92bbc9f
DefundNonce per asset id
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -94,11 +94,6 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n// We need to be in defund phase for that\nrequire(inDe...
TypeScript
MIT License
connext/vector
DefundNonce per asset id
131,894
17.11.2020 16:14:05
28,800
59765c859b8e446ab9ca25bc8d20c8eb9e291e85
Improve UI for iframe connection
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -10,7 +10,7 @@ import {\nimport React, { useEffect, useState } from \"react\";\nimport pino from \"pino\";\nimport { constants, utils } from \"ethers\";\n-import { Col, Divide...
TypeScript
MIT License
connext/vector
Improve UI for iframe connection
131,894
17.11.2020 16:51:04
28,800
77a575d7c3eeeb5318c0de121b0e05cef75c74c2
Use global config
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -72,7 +72,3 @@ cypress/videos\n**/.env\n**/react-app-env.d.ts\n.secret\n-\n-modules/iframe-app/config-node.json\n-modules/iframe-app/local.config-node.json\n-modules/iframe-app/prod.config-node.json\n" }, ...
TypeScript
MIT License
connext/vector
Use global config
131,905
17.11.2020 18:16:46
25,200
faa685494d80ef0ea46b71efeba3bf17eab54f25
Add additional verification for defund nonces
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "diff": "@@ -143,9 +143,13 @@ describe(\"CMCAdjudicator.sol\", async function() {\nconst postDefundAlice = await Promise.all(ccs.as...
TypeScript
MIT License
connext/vector
Add additional verification for defund nonces
131,894
17.11.2020 18:25:54
28,800
be3657784f6cef74243578144a69919bb20351b1
Fix config again
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -150,11 +150,13 @@ config:\ncp -n ops/config/global.default.json global.config.json\ncp -n ops/config/node.default.json node.config.json\ncp -n ops/config/router.default.json router.config.json\n+ cp -n ops/config...
TypeScript
MIT License
connext/vector
Fix config again
131,905
17.11.2020 20:53:19
25,200
0cd92d16c8ff64641ab5857e621aaa3def5598c3
Initialize defundNonces on first dispute
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -73,6 +73,10 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n}\n// Store newer state\n+ // If this is the first disp...
TypeScript
MIT License
connext/vector
Initialize defundNonces on first dispute
131,905
17.11.2020 20:53:37
25,200
5b3fbca617eb7c2b6a9d3e3d9dd8d1edb1e4605d
Adjudicator tests passing, new test .onlyd
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/adjudicator.spec.ts", "diff": "@@ -130,13 +130,14 @@ describe(\"CMCAdjudicator.sol\", async function() {\nccs: FullChannelState = channelState,\nunproces...
TypeScript
MIT License
connext/vector
Adjudicator tests passing, new test .onlyd
131,903
18.11.2020 14:43:28
-3,600
30f44c31088b542d8be5ea5922b7d7ba7d03cf51
Make `defundNonces` a mapping and move it out of `ChannelDispute`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -20,6 +20,7 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nuint256 private constant QUERY_DEPOSITS_GAS_LIMIT = 1200...
TypeScript
MIT License
connext/vector
Make `defundNonces` a mapping and move it out of `ChannelDispute`