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,905
22.10.2020 01:02:04
14,400
13f2684075da4c2275832cf24f58b8f78f3d2738
Fix test utilities
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/actions/createChannel.ts", "new_path": "modules/contracts/src.ts/actions/createChannel.ts", "diff": "@@ -3,7 +3,7 @@ import { Contract, Wallet } from \"ethers\";\nimport { Argv } from \"yargs\";\nimport { AddressBook, getAddressBook } ...
TypeScript
MIT License
connext/vector
Fix test utilities
131,905
22.10.2020 01:02:17
14,400
19c99670d887486990c6c923fc3f394392b57210
WIP asset transfer tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/assetTransfer.spec.ts", "new_path": "modules/contracts/src.ts/tests/assetTransfer.spec.ts", "diff": "import { AddressZero } from \"@ethersproject/constants\";\nimport { expect } from \"chai\";\nimport { BigNumber, Contract } from...
TypeScript
MIT License
connext/vector
WIP asset transfer tests
131,905
22.10.2020 01:14:16
14,400
5a9a43e41c39fb68f48b41515d044d5aa2e9f383
fix withdrawable
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -47,7 +47,7 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\nuint256 balance = abi.decode(encodedReturnValue, (uint256));\nuint256 amoun...
TypeScript
MIT License
connext/vector
fix withdrawable
131,894
22.10.2020 10:54:51
-7,200
dece91e18d2729445985862026e8925575227e47
Allow sqlite file
[ { "change_type": "MODIFY", "old_path": "modules/server-node/ops/entry.sh", "new_path": "modules/server-node/ops/entry.sh", "diff": "@@ -20,16 +20,24 @@ then\nexport VECTOR_MNEMONIC\nfi\n-# TODO: if no *_PG_* env vars provided, spin up a sqlite instance locally & use that?\n+if [[ -n $VECTOR_PG_HOST ...
TypeScript
MIT License
connext/vector
Allow sqlite file
131,903
22.10.2020 20:48:53
-7,200
ef1e3ac937d5e34da2930c72801da74d5439fa59
Add `succeedingTransfer` function to `FailingToken`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/FailingToken.sol", "new_path": "modules/contracts/src.sol/FailingToken.sol", "diff": "@@ -30,4 +30,8 @@ contract FailingToken is ERC20 {\nrequire(false, \"Failing token never transfers\");\n}\n+ function succeedingTransfer(address rec...
TypeScript
MIT License
connext/vector
Add `succeedingTransfer` function to `FailingToken`
131,903
22.10.2020 20:50:12
-7,200
3c09ccbb514974e37a555d206dbc9cb7fc50bceb
Use `succeedingTransfer` in test setup
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/assetTransfer.spec.ts", "new_path": "modules/contracts/src.ts/tests/assetTransfer.spec.ts", "diff": "@@ -74,7 +74,7 @@ describe(\"AssetTransfer.sol\", () => {\nconst tokenTx = await token.connect(bob).transfer(channel.address, Bi...
TypeScript
MIT License
connext/vector
Use `succeedingTransfer` in test setup
131,903
22.10.2020 20:56:33
-7,200
7046a6a7baee2017ea87a26cd362345539059e64
Fix bug in `AssetTransfer`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -46,9 +46,14 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\nuint256 balance = abi.decode(encodedReturnValue, (uint256));\nuint256 amou...
TypeScript
MIT License
connext/vector
Fix bug in `AssetTransfer`
131,903
22.10.2020 23:50:27
-7,200
35840c19a07153eed803cea3d80b1176ef8a1bd7
Increase gas allowance for ERC20 balance queries
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -15,7 +15,7 @@ contract AssetTransfer is CMCCore, IAssetTransfer {\n// TODO: These are ad hoc values. Confirm or find more suitable ones.\nuint...
TypeScript
MIT License
connext/vector
Increase gas allowance for ERC20 balance queries
131,905
22.10.2020 21:16:12
14,400
f575a4ad73edb74e67ed176679eda633fe1de0ac
finish asset transfer tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/FailingToken.sol", "new_path": "modules/contracts/src.sol/FailingToken.sol", "diff": "-\n-\n// SPDX-License-Identifier: MIT\npragma solidity ^0.7.1;\n@@ -14,7 +12,10 @@ import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n*/\nco...
TypeScript
MIT License
connext/vector
finish asset transfer tests
131,905
22.10.2020 23:06:50
21,600
a2b001b3e18c7227be82f8ac3acf6e183effd87f
add nonconforming token transfer tests
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/contracts/src.sol/NonconformingToken.sol", "diff": "+// SPDX-License-Identifier: MIT\n+\n+pragma solidity ^0.7.1;\n+\n+import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n+\n+\n+/* This token is ONLY useful for testing\n+ * Anybod...
TypeScript
MIT License
connext/vector
add nonconforming token transfer tests
131,905
23.10.2020 00:16:39
21,600
8c5000d17310adf52733d8ca78b40a5c09ff72d0
Add accountant tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/TestChannel.sol", "new_path": "modules/contracts/src.sol/TestChannel.sol", "diff": "@@ -25,4 +25,8 @@ contract TestChannel is ChannelMastercopy, ITestChannel {\n) public override returns (bool) {\nreturn transferAsset(assetId, recipie...
TypeScript
MIT License
connext/vector
Add accountant tests
131,894
23.10.2020 09:14:12
-7,200
ee86c5b91ab640f0c57479fbd9e0d982be9443f8
TODO is addressed
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/reference/nodeAPI.md", "new_path": "modules/documentation/docs/reference/nodeAPI.md", "diff": "@@ -104,8 +104,6 @@ OR [NodeError](https://github.com/connext/vector/blob/master/modules/types/src/e\n### setup\n-// TODO setup is being w...
TypeScript
MIT License
connext/vector
TODO is addressed
131,903
23.10.2020 17:25:14
-7,200
295daaf9cba479e649c9e83a7137ff31061fd023
Fix `NonconformingToken`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/NonconformingToken.sol", "new_path": "modules/contracts/src.sol/NonconformingToken.sol", "diff": "pragma solidity ^0.7.1;\n-import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n-\n+import \"@openzeppelin/contracts/math/SafeMath....
TypeScript
MIT License
connext/vector
Fix `NonconformingToken`
131,905
23.10.2020 15:13:56
21,600
edaefcca42c094ddc4e69fbd6e3de5886a922c63
Implement CMCCore tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/ChannelFactory.sol", "new_path": "modules/contracts/src.sol/ChannelFactory.sol", "diff": "@@ -112,6 +112,7 @@ contract ChannelFactory is IChannelFactory {\nchannel = deployChannelProxy(alice, bob, chainId);\nchannel.setup(alice, bob);...
TypeScript
MIT License
connext/vector
Implement CMCCore tests
131,905
23.10.2020 22:01:54
21,600
0bc1ccc1cc3df90f1da7909936a1e8da71d982dd
implement withdraw tests
[ { "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": "/* eslint-disable @typescript-eslint/no-empty-function */\n+import { ChannelSigner, expect, getRandomBytes32 } from \"@connext/v...
TypeScript
MIT License
connext/vector
implement withdraw tests
131,905
24.10.2020 12:56:54
21,600
b800a67aec50b02f2bcf801534dc434f97dbed26
utils return a result
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/testing/utils.spec.ts", "new_path": "modules/protocol/src/testing/utils.spec.ts", "diff": "@@ -120,7 +120,9 @@ describe(\"utils\", () => {\nchannelFactoryAddress: networkContext.channelFactoryAddress,\n};\n// Run the test\n- const result =...
TypeScript
MIT License
connext/vector
utils return a result
131,894
26.10.2020 08:47:16
-3,600
c08e7977c32e3f3079dc8c7081b08a60285a7bb3
Browser node test params
[ { "change_type": "MODIFY", "old_path": "modules/browser-node-test-ui/config-node.json", "new_path": "modules/browser-node-test-ui/config-node.json", "diff": "{\n\"adminToken\": \"cxt1234\",\n- \"authUrl\": \"http://localhost:5040\",\n+ \"messagingUrl\": \"https://messaging.connext.network\",\n\"logL...
TypeScript
MIT License
connext/vector
Browser node test params
131,903
26.10.2020 13:35:50
-3,600
04794a9ea8d28f9bdc3b6eff761b93903ef00e5c
Fix onchain computation of channel address
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/ChannelFactory.sol", "new_path": "modules/contracts/src.sol/ChannelFactory.sol", "diff": "@@ -48,7 +48,7 @@ contract ChannelFactory is IChannelFactory {\nbyte(0xff),\naddress(this),\ngenerateSalt(alice, bob, chainId),\n- keccak256(abi...
TypeScript
MIT License
connext/vector
Fix onchain computation of channel address
131,903
26.10.2020 13:58:42
-3,600
d637b462524ec3b50e289f40958f1a4ca6266e48
Reintegrate test of onchain channel address computation
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/channelFactory.spec.ts", "new_path": "modules/contracts/src.ts/tests/channelFactory.spec.ts", "diff": "@@ -52,9 +52,10 @@ describe(\"ChannelFactory\", () => {\nexpect(await channelFactory.proxyCreationCode()).to.equal(Proxy.bytec...
TypeScript
MIT License
connext/vector
Reintegrate test of onchain channel address computation
131,903
26.10.2020 16:47:55
-3,600
6430fa56a4fbf9c4952f32ebeac2abd8406caa9f
Dispute nonces must be strictly increasing
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -53,35 +53,22 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n// We cannot dispute a channel in its defund phase\nre...
TypeScript
MIT License
connext/vector
Dispute nonces must be strictly increasing
131,903
26.10.2020 16:53:40
-3,600
5c1ba12fd514ac8e73bc3572c0e96e549c85c6bc
Modify adjudicator who-can-do-what according to recent decisions Anybody can start a dispute, respond in a dispute, and defund the channel as well as individual transfers. However, only the responder in a transfer can resolve.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -57,8 +57,6 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nrequire(channelDispute.nonce < ccs.nonce, \"CMCAdjudicat...
TypeScript
MIT License
connext/vector
Modify adjudicator who-can-do-what according to recent decisions Anybody can start a dispute, respond in a dispute, and defund the channel as well as individual transfers. However, only the responder in a transfer can resolve.
131,903
26.10.2020 17:33:06
-3,600
18f758ab1febc0622a97cf2fd8bd1708c8bde130
Add channel defund nonce to adjudicator logic
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -79,9 +79,9 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n// We need to be in defund phase for that\nrequire(inDef...
TypeScript
MIT License
connext/vector
Add channel defund nonce to adjudicator logic
131,905
26.10.2020 10:33:57
21,600
6cf9599986258b38ad0bcf52b5d81eefb5151490
Add revert messages
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibIterableMapping.sol", "new_path": "modules/contracts/src.sol/lib/LibIterableMapping.sol", "diff": "@@ -36,8 +36,8 @@ library LibIterableMapping {\nview\nreturns (RegisteredTransfer memory)\n{\n- require(!isEmptyString(name));\n...
TypeScript
MIT License
connext/vector
Add revert messages
131,905
26.10.2020 11:01:54
21,600
49eaa0d68f831b66802699b5be09c614e8d699ee
add dispute method placeholders to chainservice
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -7,6 +7,7 @@ import {\nERC20Abi,\nIChainServiceStore,\nTransactionReason,\n+ FullTransferState,\n} from \"@connext/vector-types\";\nimp...
TypeScript
MIT License
connext/vector
add dispute method placeholders to chainservice
131,903
26.10.2020 18:35:53
-3,600
f4ef651d701dc47e48881be5ea8deca89ea99f22
Test removal of last element
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/lib/iterableMapping.spec.ts", "new_path": "modules/contracts/src.ts/tests/lib/iterableMapping.spec.ts", "diff": "@@ -149,7 +149,13 @@ describe.only(\"LibIterableMapping.sol\", () => {\nawait loadMapping();\n});\n- it(\"should wor...
TypeScript
MIT License
connext/vector
Test removal of last element
131,905
26.10.2020 11:39:31
21,600
393ab196fd49ac46dee67f818ec195ccfe876b44
Add defundNonce to db model
[ { "change_type": "RENAME", "old_path": "modules/server-node/migrations/20201020145921-init/README.md", "new_path": "modules/server-node/migrations/20201026173854-init/README.md", "diff": "-# Migration `20201020145921-init`\n+# Migration `20201026173854-init`\n-This migration has been generated by La...
TypeScript
MIT License
connext/vector
Add defundNonce to db model
131,905
26.10.2020 11:40:00
21,600
75768c3b98ddc9e0d86b9c9d5a6d8db187e07dd0
Update ordering onchain, add defundNonce
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/Types.sol", "new_path": "modules/contracts/src.sol/interfaces/Types.sol", "diff": "@@ -3,16 +3,16 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nstruct Balance {\n- uint256[2] amount;\n- address payable[2] t...
TypeScript
MIT License
connext/vector
Update ordering onchain, add defundNonce
131,903
26.10.2020 22:05:41
-3,600
6dcaacc3ee5b7db3c4bfd4cd487a4baea433650b
Catch possible revert in adjudicator
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -15,6 +15,8 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nusing LibChannelCrypto for bytes32;\nusing SafeMath for ...
TypeScript
MIT License
connext/vector
Catch possible revert in adjudicator
131,905
26.10.2020 17:37:19
21,600
8caca8cde400d9ad632ce8cb8c6f0523d24d9618
add mineBlock helper
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/utils.ts", "new_path": "modules/contracts/src.ts/tests/utils.ts", "diff": "@@ -43,3 +43,10 @@ export const getUnsetupChannel = async (_addressBook?: AddressBook): Promise<Con\nreturn new Contract(channelAddress, TestChannel.abi, ...
TypeScript
MIT License
connext/vector
add mineBlock helper
131,905
26.10.2020 17:38:57
21,600
3813a2823bff97e7705124f70df56f8a623cf32d
WIP adjudicator tests
[ { "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": "/* eslint-disable @typescript-eslint/no-empty-function */\n-import { CoreChannelState, CoreTransferState } from \"@connext...
TypeScript
MIT License
connext/vector
WIP adjudicator tests
131,905
26.10.2020 19:18:08
21,600
76b8fd1c2e68d8dcaa27956f9c37fc66b787e7ae
Dispute channel tests passing
[ { "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": "@@ -29,14 +29,11 @@ describe.only(\"CMCAdjudicator.sol\", () => {\n// Helper to verify the channel dispute\nconst verifyDi...
TypeScript
MIT License
connext/vector
Dispute channel tests passing
131,905
26.10.2020 23:29:45
21,600
d55518fe1fe368a1d1c545663dbbb3199de40a79
defundChannel tests passing for eth
[ { "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": "@@ -11,11 +11,12 @@ import {\nimport { AddressZero, HashZero } from \"@ethersproject/constants\";\nimport { BigNumber, Con...
TypeScript
MIT License
connext/vector
defundChannel tests passing for eth
131,894
27.10.2020 11:33:17
-3,600
91cf4c389a6b9ad40da220a7caed4509c88d25c4
Fix contract package
[ { "change_type": "MODIFY", "old_path": "modules/contracts/package.json", "new_path": "modules/contracts/package.json", "diff": "\"description\": \"Smart contracts powering Connext's minimalist channel platform\",\n\"license\": \"ISC\",\n\"files\": [\n- \"address-book.json\",\n\"artifacts\",\n\"dist\...
TypeScript
MIT License
connext/vector
Fix contract package
131,905
27.10.2020 13:42:37
21,600
ea7163cedabb0325cdec03435154842fbcf8705a
add multiasset defund 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": "@@ -10,13 +10,17 @@ import {\n} from \"@connext/vector-utils\";\nimport { AddressZero, HashZero } from \"@ethersproject/co...
TypeScript
MIT License
connext/vector
add multiasset defund test
131,905
27.10.2020 16:31:46
21,600
7d398a50f7d5c87e407f82d585903dc1a79e7ca1
disputeTransfer tests passing
[ { "change_type": "MODIFY", "old_path": "modules/contracts/package.json", "new_path": "modules/contracts/package.json", "diff": "\"ethers\": \"5.0.17\",\n\"hardhat\": \"2.0.1\",\n\"keccak\": \"3.0.1\",\n+ \"merkletreejs\": \"0.2.9\",\n\"p-queue\": \"6.6.2\",\n\"pino\": \"6.7.0\",\n\"pino-pretty\": \"...
TypeScript
MIT License
connext/vector
disputeTransfer tests passing
131,897
27.10.2020 18:20:17
25,200
20d19ef6b3743da4bef846d96088c37885c957d5
Finish transfer docs
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/node/transfers.md", "new_path": "modules/documentation/docs/node/transfers.md", "diff": "@@ -210,34 +210,42 @@ If the router that you're transferring over [supports it](../router/configure.md\n```\nIf `recipientChainId` or `recipient...
TypeScript
MIT License
connext/vector
Finish transfer docs
131,905
27.10.2020 20:33:18
21,600
a202e23646c5b1db52039db08d5be63463d05713
defund transfer tests implemented
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -173,6 +173,8 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n);\n// Verify that a dispute for this transfer has alr...
TypeScript
MIT License
connext/vector
defund transfer tests implemented
131,905
27.10.2020 21:27:05
21,600
b37475e2adae9d898e3c8e4ed43fab346d9feffc
Add dispute methods to chain service
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -9,7 +9,7 @@ import {\nTransactionReason,\nFullTransferState,\n} from \"@connext/vector-types\";\n-import { delay } from \"@connext/vec...
TypeScript
MIT License
connext/vector
Add dispute methods to chain service
131,894
28.10.2020 11:36:23
-3,600
a857e410f4ac4756d3e42fc4629d9c8899e65649
Fix start-node
[ { "change_type": "MODIFY", "old_path": "ops/start-node.sh", "new_path": "ops/start-node.sh", "diff": "@@ -112,15 +112,17 @@ if [[ $production == \"true\" ]]\nthen\nnode_image_name=\"${project}_node\"\nbash \"$root/ops/pull-images.sh\" \"$version\" \"$node_image_name\" > /dev/null\n- node_image=\"ima...
TypeScript
MIT License
connext/vector
Fix start-node
131,894
28.10.2020 15:02:23
-3,600
7df4519b3927ea305e738f1b7c0224897630b71f
Fix request issue
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -200,17 +200,13 @@ server.get<{ Params: ServerNodeParams.GetActiveTransfersByChannelAddress }>(\n}\n},\n);\n-server.get(\n+server.get<{ Params: ServerNodeParams.GetC...
TypeScript
MIT License
connext/vector
Fix request issue
131,905
28.10.2020 12:31:37
21,600
5127491bcd50c1616286659e78747e7663043c52
Add dispute methods to node interface
[ { "change_type": "MODIFY", "old_path": "modules/types/src/node.ts", "new_path": "modules/types/src/node.ts", "diff": "@@ -73,6 +73,23 @@ export interface INodeService {\nparams: OptionalPublicIdentifier<ServerNodeParams.ResolveTransfer>,\n): Promise<Result<ServerNodeResponses.ResolveTransfer, NodeEr...
TypeScript
MIT License
connext/vector
Add dispute methods to node interface
131,905
28.10.2020 12:31:59
21,600
e7493ba6994f1073cf4469fcffa83bb63122b496
Implement new interface
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/package.json", "new_path": "modules/browser-node/package.json", "diff": "\"axios\": \"0.20.0\",\n\"dexie\": \"3.0.2\",\n\"ethers\": \"5.0.17\",\n+ \"merkletreejs\": \"0.2.9\",\n\"pino\": \"6.7.0\",\n\"ts-nats\": \"1.2.15\"\n},\n" }, { ...
TypeScript
MIT License
connext/vector
Implement new interface
131,905
28.10.2020 12:32:10
21,600
4e6aa0122ecc0911b786d785e8cc764a6c5e46a7
Make sure leaves are bufferified
[ { "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": "@@ -106,7 +106,7 @@ describe(\"CMCAdjudicator.sol\", () => {\n// Get merkle proof of transfer\nconst getMerkleProof = (cts...
TypeScript
MIT License
connext/vector
Make sure leaves are bufferified
131,905
28.10.2020 13:50:17
21,600
22fed6e2aa44ee2d10e2ecad2108b74ca7216f92
Log on deploy
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/actions/migrate.ts", "new_path": "modules/contracts/src.ts/actions/migrate.ts", "diff": "@@ -11,15 +11,9 @@ import { registerTransfer } from \"./registerTransfer\";\nconst { formatEther } = utils;\n-export const migrate = async (\n- wa...
TypeScript
MIT License
connext/vector
Log on deploy
131,905
28.10.2020 18:15:15
21,600
c3610584aaf51927f00599540e26a6e9a929bedf
add adjudicator events
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -15,6 +15,21 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\nusing LibChannelCrypto for bytes32;\nusing SafeMath for...
TypeScript
MIT License
connext/vector
add adjudicator events
131,905
28.10.2020 21:22:17
21,600
b7defa635256bbebcef4e3c2465dfff09877a31e
Fix getChannelStateByParticipants + 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": "@@ -18,6 +18,7 @@ import {\ngetSignerAddressFromPublicIdentifier,\ncreateTestTxResponse,\nmkPublicIdentifier,\n+ mkAddress,\n} from \"@con...
TypeScript
MIT License
connext/vector
Fix getChannelStateByParticipants + tests
131,905
28.10.2020 21:31:56
21,600
8d23c2e4254f1567ed4a5dbe6cbd3e2c5fbe00c8
add reminder to npm publish script
[ { "change_type": "MODIFY", "old_path": "ops/npm-publish.sh", "new_path": "ops/npm-publish.sh", "diff": "@@ -24,6 +24,15 @@ if [[ ! \"$(pwd | sed 's|.*/\\(.*\\)|\\1|')\" =~ $project ]]\nthen echo \"Aborting: Make sure you're in the $project project root\" && exit 1\nfi\n+echo \"Did you update the cha...
TypeScript
MIT License
connext/vector
add reminder to npm publish script
131,905
28.10.2020 23:00:36
21,600
894577349a34f0b9eeb08357d4f591dc40ddef94
update changelog with release version
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/changelog.md", "new_path": "modules/documentation/docs/changelog.md", "diff": "## Next Release\n+## @connext/{types,utils,contracts,protocol,engine,browser-node}@0.0.3-beta.5\n+\n- add revert messages to `LibIterableMapping`\n- fix b...
TypeScript
MIT License
connext/vector
update changelog with release version
131,894
29.10.2020 14:25:48
-3,600
949dea80eefd3d6165edcf744c8d3365217b811e
Swap prod and non-prod node db modes
[ { "change_type": "MODIFY", "old_path": "ops/start-node.sh", "new_path": "ops/start-node.sh", "diff": "@@ -113,13 +113,13 @@ bash \"$root/ops/pull-images.sh\" \"$node_image_name\" > /dev/null\n# If we're using local evms, the node shouldn't perist data either\nif [[ \"$use_local_evms\" == \"true\" ]]...
TypeScript
MIT License
connext/vector
Swap prod and non-prod node db modes
131,894
30.10.2020 14:44:37
-3,600
8eb0be1eeec68169b3dfc9a65ae451c7e2bd2d52
Request collateral only if router has insufficient collateral
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -11,6 +11,7 @@ import {\nINodeService,\nNodeError,\n} from \"@connext/vector-types\";\n+import { getBalanceForAssetId } from \"@connext/vector-utils\";\nimport { Bas...
TypeScript
MIT License
connext/vector
Request collateral only if router has insufficient collateral
131,905
30.10.2020 11:30:53
21,600
e7795e31e8f08e546209c9ae4f813c7f4884f08b
Add inDispute flag to store
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/listeners.spec.ts", "new_path": "modules/engine/src/testing/listeners.spec.ts", "diff": "@@ -173,6 +173,7 @@ describe(testName, () => {\ntransferState: initialState,\ntransferResolver: undefined,\nmeta: { test: \"meta\" },\n+ inDispu...
TypeScript
MIT License
connext/vector
Add inDispute flag to store
131,905
30.10.2020 17:21:26
21,600
201d6ad77ff344fb465f4d86a500a913f8095740
Add dispute methods to store
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/services/store.ts", "new_path": "modules/browser-node/src/services/store.ts", "diff": "import {\nChannelCommitmentData,\n+ ChannelDispute,\nFullChannelState,\nFullTransferState,\nIChainServiceStore,\n@@ -8,6 +9,7 @@ import {\nStoredTra...
TypeScript
MIT License
connext/vector
Add dispute methods to store
131,905
30.10.2020 17:21:34
21,600
1916790af61ecf52dc3e6b01cb7e03f24c95b238
Check dispute status before starting
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.ts", "new_path": "modules/contracts/src.ts/services/ethReader.ts", "diff": "@@ -11,12 +11,13 @@ import {\nChainProviders,\nRegisteredTransfer,\nTransferName,\n+ ChannelDispute,\n} from \"@connext/vector-types\";\nimp...
TypeScript
MIT License
connext/vector
Check dispute status before starting
131,905
30.10.2020 17:25:45
21,600
a2abde8dd2abff5bc473f42e1701ccf0a7270b68
Make disputes manually resolved
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/vector.ts", "new_path": "modules/protocol/src/vector.ts", "diff": "@@ -273,16 +273,15 @@ export class Vector implements IVectorProtocol {\ncontract.on(contract.filters.ChannelDisputed(), async event => {\nawait this.storeService.saveChanne...
TypeScript
MIT License
connext/vector
Make disputes manually resolved
131,905
30.10.2020 17:25:51
21,600
e44a00efb1ad3033e92bcb811c9f6e9e6303e829
Don't sign disputed channels
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/validate.ts", "new_path": "modules/protocol/src/validate.ts", "diff": "@@ -101,6 +101,10 @@ export async function validateOutbound<T extends UpdateType = any>(\nreturn returnError(ValidationError.reasons.ChannelNotFound);\n}\n+ if (state.i...
TypeScript
MIT License
connext/vector
Don't sign disputed channels
131,905
31.10.2020 14:25:32
21,600
d480b67d26c3b211b3de278f640bc4e3bd8c3f85
return defund nonce
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/services/store.ts", "new_path": "modules/server-node/src/services/store.ts", "diff": "@@ -185,7 +185,7 @@ const convertChannelEntityToFullChannelState = (\ntoIdentifier: channelEntity.latestUpdate.toIdentifier,\ntype: channelEntity.late...
TypeScript
MIT License
connext/vector
return defund nonce
131,905
31.10.2020 14:25:41
21,600
e7b54b6f29756afc418270ddbe928cc7eaec2d3d
call transfer
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "import { BrowserNode } from \"@connext/vector-browser-node\";\n-import { ChannelSigner, getBalanceForAssetId, getRandomBytes32 } from \"@connext/vector-utils\";\n+import { Channe...
TypeScript
MIT License
connext/vector
call transfer
131,905
31.10.2020 14:28:49
21,600
469771d56c9f8b21f6b88603e97ed18185dec179
make notes on changelog
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/changelog.md", "new_path": "modules/documentation/docs/changelog.md", "diff": "## Next Release\n+- fix `defundNonce` in server node store\n+- expose nats 4221 by default\n+\n## @connext/{types,utils,contracts,protocol,engine,browser-...
TypeScript
MIT License
connext/vector
make notes on changelog
131,903
02.11.2020 17:35:17
-3,600
a58240586aae5612b1b6681c913f71e6c81dc8c8
Introduce `LibERC20` to deal with MRVB tokens
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/contracts/src.sol/lib/LibERC20.sol", "diff": "+// SPDX-License-Identifier: UNLICENSED\n+pragma solidity ^0.7.1;\n+pragma experimental ABIEncoderV2;\n+\n+import \"@openzeppelin/contracts/utils/Address.sol\";\n+\n+\n+library LibERC20 {\n+\...
TypeScript
MIT License
connext/vector
Introduce `LibERC20` to deal with MRVB tokens
131,903
02.11.2020 17:52:23
-3,600
157e5669035e95f233b75b787edf6290df9b956c
Use `LibERC20` in `LibAsset`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/lib/LibAsset.sol", "new_path": "modules/contracts/src.sol/lib/LibAsset.sol", "diff": "pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\n+import \"./LibERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\...
TypeScript
MIT License
connext/vector
Use `LibERC20` in `LibAsset`
131,903
02.11.2020 17:53:39
-3,600
d342d2ce379227201074f21b5ecf77cfff0b49f1
Use `LibERC20` in `AssetTransfer`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/AssetTransfer.sol", "new_path": "modules/contracts/src.sol/AssetTransfer.sol", "diff": "@@ -5,6 +5,7 @@ pragma experimental ABIEncoderV2;\nimport \"./interfaces/IAssetTransfer.sol\";\nimport \"./CMCCore.sol\";\nimport \"./lib/LibAsset...
TypeScript
MIT License
connext/vector
Use `LibERC20` in `AssetTransfer`
131,903
02.11.2020 17:55:18
-3,600
b44e777ff0eb1c5ad5bcf838347f362f116e7621
Use `LibERC20` for deposits (Alice)
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCDeposit.sol", "new_path": "modules/contracts/src.sol/CMCDeposit.sol", "diff": "@@ -6,7 +6,7 @@ import \"./interfaces/ICMCDeposit.sol\";\nimport \"./CMCCore.sol\";\nimport \"./AssetTransfer.sol\";\nimport \"./lib/LibAsset.sol\";\n-i...
TypeScript
MIT License
connext/vector
Use `LibERC20` for deposits (Alice)
131,903
02.11.2020 17:57:38
-3,600
90d2d5518be7ff6f5384ec436422536d9674a00c
Fix withdrawals: limit amount to channel balance
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -7,6 +7,7 @@ import \"./CMCCore.sol\";\nimport \"./AssetTransfer.sol\";\nimport \"./lib/LibAsset.sol\";\nimport \"./lib/LibChannelCrypto.sol\";\n+i...
TypeScript
MIT License
connext/vector
Fix withdrawals: limit amount to channel balance
131,905
02.11.2020 10:36:58
25,200
4c63c46a660050e369422065299f83dffb4b7c94
dont use test provider
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/vector.ts", "new_path": "modules/protocol/src/vector.ts", "diff": "@@ -22,12 +22,11 @@ import {\n} from \"@connext/vector-types\";\nimport { getCreate2MultisigAddress, getSignerAddressFromPublicIdentifier } from \"@connext/vector-utils\";\...
TypeScript
MIT License
connext/vector
dont use test provider
131,905
02.11.2020 17:11:51
25,200
12032833051804943ba8f7a1fe3e508090f82e82
Adjudicator update: require ordering, depositsBob visibility
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "new_path": "modules/contracts/src.sol/CMCAdjudicator.sol", "diff": "@@ -166,17 +166,15 @@ contract CMCAdjudicator is CMCCore, CMCAccountant, ICMCAdjudicator {\n// Get stored dispute for this transfer\nTransferDis...
TypeScript
MIT License
connext/vector
Adjudicator update: require ordering, depositsBob visibility
131,905
02.11.2020 21:11:45
25,200
e600eb5c73659066d8bf9c42d8ebe25f8b9282b0
tests hit different eth networks
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "@@ -8,7 +8,11 @@ import * as packageJson from \"./package.json\";\n// create accounts with the default balance of MAX_INT / 2\n// and use them to fund accounts in...
TypeScript
MIT License
connext/vector
tests hit different eth networks
131,905
02.11.2020 21:12:29
25,200
462c5388b2b30e9c03b90ac6ecfaf141e39c0405
add script to test against remote node
[ { "change_type": "ADD", "old_path": null, "new_path": "ops/test-network.sh", "diff": "+#!/usr/bin/env bash\n+set -e\n+\n+root=$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )/..\" >/dev/null 2>&1 && pwd )\n+project=$(grep -m 1 '\"name\":' \"$root/package.json\" | cut -d '\"' -f 4)\n+\n+# make sure a netwo...
TypeScript
MIT License
connext/vector
add script to test against remote node
131,905
02.11.2020 23:07:27
25,200
126a7498b52ee242fb0a987eee8bcfb883ba9adc
Clean defaults
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "@@ -12,7 +12,10 @@ const MAX_INT = BigNumber.from(2)\n.pow(256)\n.sub(1);\n-const DEFAULT_MNEMONIC = \"candy maple cake sugar pudding cream honey rich smooth crum...
TypeScript
MIT License
connext/vector
Clean defaults
131,905
02.11.2020 23:08:13
25,200
41f553457c348d2e8e5af7eddbc413a60770a8ad
use injected provider URLs
[ { "change_type": "MODIFY", "old_path": "ops/test-network.sh", "new_path": "ops/test-network.sh", "diff": "@@ -15,12 +15,16 @@ else echo \"Running in non-interactive mode\"\nfi\nevm=\"${1:-hardhat}\"\n+chain_providers=\"${2}\"\ncmd=\"npx hardhat test --network $evm\"\n################################...
TypeScript
MIT License
connext/vector
use injected provider URLs
131,905
02.11.2020 23:08:30
25,200
dd833fbf529a4a6119348cde6b0cf66f4d521e09
Clean up constant defaults
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/constants.ts", "new_path": "modules/contracts/src.ts/tests/constants.ts", "diff": "-import { expect } from \"chai\";\n-import { utils, Wallet } from \"ethers\";\n-import { parseEther } from \"ethers/lib/utils\";\n+import { utils,...
TypeScript
MIT License
connext/vector
Clean up constant defaults
131,900
03.11.2020 17:07:21
-19,080
d4821d2c6daef999aa357c0c6a54c6ea11fadc15
add: encrypt & getPublicKeyFromPublicIdentifier func encrypt: param message & PublicKey func getPublicKeyFromPublicIdentifier: param publicIdentifier
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -9,6 +9,7 @@ import \"./App.css\";\nimport { EngineEvents, FullChannelState, TransferNames } from \"@connext/vector-types\";\nimport { config } from \"./config\";\n+import { C...
TypeScript
MIT License
connext/vector
add: encrypt & getPublicKeyFromPublicIdentifier - func encrypt: param message & PublicKey - func getPublicKeyFromPublicIdentifier: param publicIdentifier
131,903
03.11.2020 15:46:30
-3,600
e3efdf649e0dbd2bc67c837c0916d2c1ba695d1f
Fix/adapt tests
[ { "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": "@@ -431,29 +431,27 @@ describe(\"CMCAdjudicator.sol\", () => {\n).revertedWith(\"CMCAdjudicator: Mismatch between given co...
TypeScript
MIT License
connext/vector
Fix/adapt tests
131,894
03.11.2020 11:00:35
28,800
fd39cc57bdfd953cf709cc411cc6e5580aec5a5c
Add send method
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -16,6 +16,9 @@ import {\nResult,\nNodeParams,\nNodeResponses,\n+ ChannelRpcMethod,\n+ ChannelRpcMethodsPayloadMap,\n+ ChannelRpcMethodsResponsesMap,\n} from \"@con...
TypeScript
MIT License
connext/vector
Add send method
131,905
03.11.2020 13:32:23
25,200
685961dba61ad2e256e57600937aadaeebbadcda
add fundAddress utility
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/utils.ts", "new_path": "modules/contracts/src.ts/tests/utils.ts", "diff": "@@ -57,3 +57,23 @@ export const getOnchainBalance = async (assetId: string, address: string): Promi\n? provider.getBalance(address)\n: new Contract(assetI...
TypeScript
MIT License
connext/vector
add fundAddress utility
131,905
03.11.2020 14:59:21
25,200
eb70629cabe6208ac2aa5d2dc6402a99b0ee3465
fix automining test discrepancies
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/accountant.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/accountant.spec.ts", "diff": "@@ -30,7 +30,8 @@ describe(\"CMCAccountant.sol\", function() {\namount: [value.toString(), value.toString()],\n};\nconst pre...
TypeScript
MIT License
connext/vector
fix automining test discrepancies
131,903
04.11.2020 00:38:10
-3,600
0b8f047915b409e9b4637f70aa76beabaa5bbaf5
Introduce `WithdrawData` struct in `Types.sol`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/interfaces/Types.sol", "new_path": "modules/contracts/src.sol/interfaces/Types.sol", "diff": "@@ -7,6 +7,17 @@ struct Balance {\naddress payable[2] to; // [alice, bob] in channel, [initiator, responder] in transfer\n}\n+struct Withdra...
TypeScript
MIT License
connext/vector
Introduce `WithdrawData` struct in `Types.sol`
131,903
04.11.2020 00:41:41
-3,600
9fff6c5b55d5eb62b926d5da7096030f84dfdf7b
Implement generalized withdrawals in contracts
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -3,43 +3,71 @@ pragma solidity ^0.7.1;\npragma experimental ABIEncoderV2;\nimport \"./interfaces/ICMCWithdraw.sol\";\n+import \"./interfaces/Types....
TypeScript
MIT License
connext/vector
Implement generalized withdrawals in contracts
131,903
04.11.2020 00:43:37
-3,600
d408683e975e456ee55ec57bfcce2eb3902f8e05
Introduce `WithdrawDataEncoding` in types
[ { "change_type": "MODIFY", "old_path": "modules/types/src/contracts.ts", "new_path": "modules/types/src/contracts.ts", "diff": "@@ -4,3 +4,14 @@ export const BalanceEncoding = tidy(`tuple(\nuint256[2] amount,\naddress[2] to\n)`);\n+\n+export const WithdrawDataEncoding = tidy(`tuple(\n+ address chann...
TypeScript
MIT License
connext/vector
Introduce `WithdrawDataEncoding` in types
131,903
04.11.2020 00:44:56
-3,600
a6289e14810437a4f591f43d5f92aa8c81d9cb5d
Implement generalized withdrawals in TS code
[ { "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 } from \"@connext/vector-types\";\n+import { MinimalTransaction, WithdrawCommitment...
TypeScript
MIT License
connext/vector
Implement generalized withdrawals in TS code
131,894
03.11.2020 18:16:09
28,800
42ac1d8ec80f46a96c296f065a3f702c5b31321d
Browser node stuff
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/iframe-app/.gitignore", "diff": "+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n+\n+# dependencies\n+/node_modules\n+/.pnp\n+.pnp.js\n+\n+# testing\n+/coverage\n+\n+# production\n+/build\n+\n+# mi...
TypeScript
MIT License
connext/vector
Browser node stuff
131,905
03.11.2020 22:04:35
25,200
4111b1b94d265633c6aa08fca9e16373660ac1a7
add display test accounts fn
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/contracts/src.ts/actions/displayAccounts.ts", "diff": "+import { utils, Wallet } from \"ethers\";\n+import { Argv } from \"yargs\";\n+\n+import { cliOpts, logger } from \"../constants\";\n+\n+export const displayAccounts = async (mnemoni...
TypeScript
MIT License
connext/vector
add display test accounts fn
131,905
03.11.2020 22:07:20
25,200
093853f17574e5f6cf176529ef5979fafa949660
and evm to env
[ { "change_type": "MODIFY", "old_path": "ops/test-network.sh", "new_path": "ops/test-network.sh", "diff": "@@ -35,6 +35,7 @@ fi\ndocker run \\\n\"${interactive[@]}\" \\\n--entrypoint=\"bash\" \\\n+ --env=\"EVM=$evm\" \\\n--env=\"LOG_LEVEL=$LOG_LEVEL\" \\\n--env=\"SUGAR_DADDY=$eth_mnemonic\" \\\n--env...
TypeScript
MIT License
connext/vector
and evm to env
131,905
03.11.2020 22:08:10
25,200
8d2a710a93032e9648759fc0a57eaa946e57dd2f
conditionally skip
[ { "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": "@@ -29,6 +29,11 @@ const { parseEther } = utils;\ndescribe(\"CMCAdjudicator.sol\", function() {\nthis.timeout(120_000);\n+...
TypeScript
MIT License
connext/vector
conditionally skip
131,900
04.11.2020 18:19:53
-19,080
61b88edb8cbf1dcb0b7e1c00a93cf21d39066d51
chg: incr timeout for global ping from 60 to 300.
[ { "change_type": "MODIFY", "old_path": "ops/start-global.sh", "new_path": "ops/start-global.sh", "diff": "@@ -278,7 +278,7 @@ function abort {\nexit 1\n}\n-timeout=$(( $(date +%s) + 60 ))\n+timeout=$(( $(date +%s) + 300 ))\necho \"Waiting for $public_url to wake up..\"\nwhile [[ \"$(curl -k -m 5 -s ...
TypeScript
MIT License
connext/vector
chg: incr timeout for global ping from 60 to 300.
131,900
04.11.2020 18:20:26
-19,080
64a2a2c1aac214ce935f1ae65501518244c87c34
add: decrypt function in crypto
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/utils/crypto.ts", "new_path": "modules/test-ui/src/utils/crypto.ts", "diff": "-import { HexString, PublicKey } from \"@connext/vector-types\";\n+import { HexString, PublicKey, PrivateKey } from \"@connext/vector-types\";\nimport { utils } f...
TypeScript
MIT License
connext/vector
add: decrypt function in crypto
131,903
04.11.2020 17:48:04
-3,600
3032e8ac2a44f2079cd7aaf0cdda311c52ab7639
Check code existence _before_ call
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -54,18 +54,22 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\n// Add to totalWithdrawn\nregisterTransfer(wd.assetId, wd.amount);...
TypeScript
MIT License
connext/vector
Check code existence _before_ call
131,905
04.11.2020 09:53:02
25,200
c805643bf690d889f3a85e5132cc6016f41a86de
properly export command
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/actions/displayAccounts.ts", "new_path": "modules/contracts/src.ts/actions/displayAccounts.ts", "diff": "@@ -20,8 +20,8 @@ export const displayAccounts = async (mnemonic: string, log = logger.child({})):\nlogger.info({ rando: wallets[2...
TypeScript
MIT License
connext/vector
properly export command
131,905
04.11.2020 10:11:21
25,200
c9a8a2a5ee90a933767097d959dd927cf0e172db
Reduce costs
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/cmcs/accountant.spec.ts", "new_path": "modules/contracts/src.ts/tests/cmcs/accountant.spec.ts", "diff": "@@ -19,12 +19,12 @@ describe(\"CMCAccountant.sol\", function() {\nchannel = await getTestChannel(addressBook);\n// Fund chan...
TypeScript
MIT License
connext/vector
Reduce costs
131,903
04.11.2020 18:12:11
-3,600
cd500d16926831adaf628c8b454e98ff584bd61f
Adapt `getWithdrawalTransactionRecord` to recent changes
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/CMCWithdraw.sol", "new_path": "modules/contracts/src.sol/CMCWithdraw.sol", "diff": "@@ -75,13 +75,9 @@ contract CMCWithdraw is CMCCore, AssetTransfer, ICMCWithdraw {\n}\nfunction getWithdrawalTransactionRecord(\n- address recipient,\n...
TypeScript
MIT License
connext/vector
Adapt `getWithdrawalTransactionRecord` to recent changes
131,900
04.11.2020 22:39:12
-19,080
ae316d17fc6098c4d0cc1722e6edaa32ff49045b
add: conditional transfer resolver
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -76,6 +76,28 @@ function App() {\nconsole.log(\"Received EngineEvents.DEPOSIT_RECONCILED: \", data);\nawait updateChannel(client, data.channelAddress);\n});\n+ client.on(Engin...
TypeScript
MIT License
connext/vector
add: conditional transfer resolver
131,903
04.11.2020 21:57:00
-3,600
9cee7df339658fe7e0f268bd395eedcf98df219a
Refactor `withdraw.ts`
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/commitments/withdraw.ts", "new_path": "modules/contracts/src.ts/commitments/withdraw.ts", "diff": "@@ -63,7 +63,7 @@ export class WithdrawCommitment {\nreturn commitment;\n}\n- public createCallData() {\n+ public getCallData() {\nretur...
TypeScript
MIT License
connext/vector
Refactor `withdraw.ts`
131,894
04.11.2020 13:02:03
28,800
70dc3443534e22542daecd5234ec1eb00148230c
Start making iframe app
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -95,6 +95,9 @@ stop-global:\nstart-test-ui: browser-node\n@bash ops/start-test-ui.sh\n+start-iframe-app: browser-node\n+ @bash ops/start-iframe-app.sh\n+\nstop-all:\n@bash ops/stop.sh trio\n@bash ops/stop.sh route...
TypeScript
MIT License
connext/vector
Start making iframe app
131,903
04.11.2020 22:00:16
-3,600
4f94f11b42711199acb0173919c3f08bd89fef37
Fix withdrawal-related tests
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/tests/channelMastercopy.spec.ts", "new_path": "modules/contracts/src.ts/tests/channelMastercopy.spec.ts", "diff": "@@ -27,6 +27,16 @@ describe(\"ChannelMastercopy\", () => {\n[Zero, Zero],\n[AddressZero, AddressZero],\n];\n+ const With...
TypeScript
MIT License
connext/vector
Fix withdrawal-related tests
131,903
04.11.2020 22:55:54
-3,600
29fff7734964b88c69f1ba0b5603fb2daf71366f
Extend failing token functionality `FailingToken` can now also return `false`, instead of reverting.
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.sol/testing/FailingToken.sol", "new_path": "modules/contracts/src.sol/testing/FailingToken.sol", "diff": "@@ -12,10 +12,11 @@ import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n*/\ncontract FailingToken is ERC20 {\n+ bool public t...
TypeScript
MIT License
connext/vector
Extend failing token functionality `FailingToken` can now also return `false`, instead of reverting.
131,905
04.11.2020 16:13:52
25,200
a66b5b6bc471023839626ecf422bef2483aaad65
allow trio to be run against remote chains
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -211,7 +211,7 @@ test-duet: test-runner-js duet\nwatch-duet: test-runner-js duet\nbash ops/test-integration.sh duet watch\n-test-trio: test-runner-js trio\n+test-trio: test-runner trio\nbash ops/test-integration.s...
TypeScript
MIT License
connext/vector
allow trio to be run against remote chains
131,903
05.11.2020 01:00:10
-3,600
b05bf60541ea3cb4b6812d38cc83223bfd61bd82
Add new tests for withdrawals
[ { "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": "/* eslint-disable @typescript-eslint/no-empty-function */\n-import { ChannelSigner, expect, getRandomBytes32 } from \"@connext/v...
TypeScript
MIT License
connext/vector
Add new tests for withdrawals
131,894
04.11.2020 18:19:36
28,800
c9d04859fa7e38c4a91bf65a3d99a79509c04e33
Fix browser node issue
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/config-node.json", "new_path": "modules/test-ui/config-node.json", "diff": "{\n\"adminToken\": \"cxt1234\",\n- \"messagingUrl\": \"https://messaging.connext.network\",\n+ \"authUrl\": \"http://localhost:5040\",\n+ \"natsUrl\": \"ws://localhost:...
TypeScript
MIT License
connext/vector
Fix browser node issue
131,894
04.11.2020 18:54:43
28,800
78cf5b3fdcb0e581fbed79a16232f10b4cd5360f
Start putting iframe together
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/config-node.json", "new_path": "modules/test-ui/config-node.json", "diff": "\"chainProviders\": {\n\"4\": \"https://eth-rinkeby.alchemyapi.io/jsonrpc/bCywUgYiEekiGcXSY8v8IwKBKy3Kj1wy\"\n},\n- \"port\": 3333\n+ \"port\": 3000\n}\n" }, { ...
TypeScript
MIT License
connext/vector
Start putting iframe together
131,905
04.11.2020 23:02:18
25,200
9afc23896aa6b3eff17efcf6fb221417d3f2eb03
Increase timeouts + use utilities
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "@@ -3,7 +3,7 @@ import { Wallet, utils, constants, providers, BigNumber } from \"ethers\";\nimport pino from \"pino\";\nimport { EngineEvents, INode...
TypeScript
MIT License
connext/vector
Increase timeouts + use utilities
131,903
05.11.2020 14:01:00
-3,600
c0a900648f3d2343db6714f8d0da8fa8e4f224e5
Reorder tests to match requirements order in contract
[ { "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,7 +133,7 @@ describe(\"CMCWithdraw.sol\", () => {\nexpect(await channel.getWithdrawalTransactionRecord(withdrawData)).to...
TypeScript
MIT License
connext/vector
Reorder tests to match requirements order in contract