author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
131,894 | 31.03.2021 19:43:27 | -7,200 | c15ab1aa3e9eaaaae0b14aefcacfee5a14cadd18 | Don't allow <0 | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/collateral.ts",
"new_path": "modules/router/src/services/collateral.ts",
"diff": "@@ -16,6 +16,7 @@ import { BaseLogger } from \"pino\";\nimport { CollateralError } from \"../errors\";\nimport { getRebalanceProfile } from \"./config... | TypeScript | MIT License | connext/vector | Don't allow <0 |
131,905 | 31.03.2021 12:19:06 | 21,600 | 1bc8ca5079ae685652028fac8592e50f11cf5c12 | Add complete hash | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -192,6 +192,7 @@ export const rebalanceIfNeeded = async (\nswap,\napproveHash: undefined,\nexecuteHash: undefined,\n+ completeHash: undefined... | TypeScript | MIT License | connext/vector | Add complete hash |
131,901 | 31.03.2021 21:22:41 | -10,800 | 5a0aba73f71ae737579a4612768dde454b959958 | set audit level for ARM build to high | [
{
"change_type": "MODIFY",
"old_path": "modules/server-node/ops/arm.Dockerfile",
"new_path": "modules/server-node/ops/arm.Dockerfile",
"diff": "@@ -20,7 +20,7 @@ RUN chmod +x /prisma-arm64/* &&\\\nchmod +x /bin/wait-for\nRUN npm install --production\n-RUN npm audit --audit-level=moderate\n+RUN npm a... | TypeScript | MIT License | connext/vector | set audit level for ARM build to high |
131,905 | 31.03.2021 15:12:23 | 21,600 | 4d9679895cdd324d5858f109da44431838d483cc | Withdrawal from matic tested | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -461,31 +461,35 @@ export const completeRebalance = async (\n{\nmethod,\nintervalId: methodId,\n- rebalanceRes: statusRes.data,\n+ statusRes:... | TypeScript | MIT License | connext/vector | Withdrawal from matic tested |
131,905 | 31.03.2021 17:39:09 | 21,600 | b481bb21a8d162ff0db9c8320b235dae6eedf1c2 | Check approval transaction | [
{
"change_type": "MODIFY",
"old_path": "modules/documentation/docs/changelog.md",
"new_path": "modules/documentation/docs/changelog.md",
"diff": "## Next Release\n+## 0.2.1-beta.23\n+\n+- \\[router\\] Fix autorebalancing approval tx schema\n+\n## 0.2.1-beta.22\n- \\[router\\] Fix autorebalancing\n"
... | TypeScript | MIT License | connext/vector | Check approval transaction |
131,905 | 31.03.2021 18:16:31 | 21,600 | ba594f60992f5cb28eb93d3e7e72d8feea41a626 | Fix rebalancing for multiple cycles | [
{
"change_type": "MODIFY",
"old_path": "modules/documentation/docs/changelog.md",
"new_path": "modules/documentation/docs/changelog.md",
"diff": "## Next Release\n+## 0.2.1-beta.24\n+\n+- \\[router\\] Fix autorebalancing for multiple rebalance cycles\n+\n## 0.2.1-beta.23\n- \\[router\\] Fix autoreba... | TypeScript | MIT License | connext/vector | Fix rebalancing for multiple cycles |
131,905 | 31.03.2021 22:09:17 | 21,600 | df9604e9eaf1e314564157d9c0175c25fd06db81 | Trio tests passing tg | [
{
"change_type": "MODIFY",
"old_path": "modules/test-runner/src/trio/happy.test.ts",
"new_path": "modules/test-runner/src/trio/happy.test.ts",
"diff": "@@ -135,15 +135,12 @@ describe(testName, () => {\ndepositAmt,\n);\nexpect(carolRogerPostDeposit.balances[0].to[1]).to.be.eq(carolService.signerAddre... | TypeScript | MIT License | connext/vector | Trio tests passing tg |
131,894 | 01.04.2021 12:52:10 | -7,200 | 4247f50b501a50fb7d497fed2d4bdd1a9cd75b2f | Config setups | [
{
"change_type": "MODIFY",
"old_path": "modules/router/package.json",
"new_path": "modules/router/package.json",
"diff": "\"@sinclair/typebox\": \"0.12.7\",\n\"ajv\": \"6.12.6\",\n\"axios\": \"0.21.1\",\n+ \"convict\": \"^6.0.1\",\n\"core-js\": \"3.9.1\",\n\"evt\": \"1.9.12\",\n\"fastify\": \"3.13.0... | TypeScript | MIT License | connext/vector | Config setups |
131,894 | 01.04.2021 13:56:55 | -7,200 | d3d32e590e91bd0d4736b16013f63f6651ee64e7 | 0 withdrawal fees | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/listeners.ts",
"new_path": "modules/engine/src/listeners.ts",
"diff": "@@ -434,11 +434,11 @@ export async function setupEngineListeners(\nexport async function getWithdrawalQuote(\nrequest: EngineParams.GetWithdrawalQuote,\n- gasSubsidyPerce... | TypeScript | MIT License | connext/vector | 0 withdrawal fees |
131,905 | 01.04.2021 16:02:03 | 21,600 | a53e32c6b590a1bc8dd52a85971e172c9bbf301f | Remove ccs stored record | [
{
"change_type": "MODIFY",
"old_path": "modules/protocol/src/vector.ts",
"new_path": "modules/protocol/src/vector.ts",
"diff": "@@ -213,14 +213,14 @@ export class Vector implements IVectorProtocol {\nreturn;\n}\nthis.logger.warn({ ...payload }, \"Channel in dispute\");\n- await this.storeService.sav... | TypeScript | MIT License | connext/vector | Remove ccs stored record |
131,905 | 01.04.2021 17:14:22 | 21,600 | a91812e6961bd1f6759f51b6e34ac9bc64f465c9 | Remove event listeners | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethReader.ts",
"new_path": "modules/contracts/src.ts/services/ethReader.ts",
"diff": "@@ -126,7 +126,6 @@ export class EthereumChainReader implements IVectorChainReader {\nmerkleRoot: dispute.merkleRoot,\nconsensusExpiry: disp... | TypeScript | MIT License | connext/vector | Remove event listeners |
131,894 | 02.04.2021 11:45:50 | -7,200 | 7d1aa129d16c5471705cbb6b09b7b767b97c8d9a | Dont register dispute | [
{
"change_type": "MODIFY",
"old_path": "modules/protocol/src/vector.ts",
"new_path": "modules/protocol/src/vector.ts",
"diff": "@@ -377,7 +377,10 @@ export class Vector implements IVectorProtocol {\n// server-node startup (double check on prod). If it is *not* awaited\n// then you could have a race ... | TypeScript | MIT License | connext/vector | Dont register dispute |
131,894 | 02.04.2021 13:57:19 | -7,200 | 612ead2b76ca8a562741ade125b18f837530b591 | Config stuffs | [
{
"change_type": "MODIFY",
"old_path": "modules/server-node/package.json",
"new_path": "modules/server-node/package.json",
"diff": "\"devDependencies\": {\n\"@types/chai\": \"4.2.15\",\n\"@types/chai-as-promised\": \"7.1.3\",\n+ \"@types/convict\": \"^6.0.1\",\n\"@types/mocha\": \"8.2.1\",\n\"@types... | TypeScript | MIT License | connext/vector | Config stuffs |
131,894 | 02.04.2021 14:50:58 | -7,200 | 09742202dd0c2d5c545205fbdbc45175b29b0c71 | Sync disputes | [
{
"change_type": "MODIFY",
"old_path": "modules/browser-node/src/index.ts",
"new_path": "modules/browser-node/src/index.ts",
"diff": "@@ -666,6 +666,16 @@ export class BrowserNode implements INodeService {\n}\n}\n+ async syncDisputes(): Promise<Result<void, BrowserNodeError>> {\n+ const rpc = constr... | TypeScript | MIT License | connext/vector | Sync disputes |
131,894 | 02.04.2021 15:27:33 | -7,200 | 4f7e411b9d45157c1ab6e24fc3c512880dd83bf0 | Test store method | [
{
"change_type": "MODIFY",
"old_path": "modules/server-node/examples/7-dispute.http",
"new_path": "modules/server-node/examples/7-dispute.http",
"diff": "@@ -39,7 +39,7 @@ Content-Type: application/json\n}\n##############\n-### Defund Channel\n+### Sync Disputes\nPOST {{nodeUrl}}/sync-disputes\nCont... | TypeScript | MIT License | connext/vector | Test store method |
131,905 | 02.04.2021 10:37:48 | 21,600 | 9e64abcf86f4bbbeaf052f751460015f2a6f8473 | wrap in try-catch | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/index.ts",
"new_path": "modules/engine/src/index.ts",
"diff": "@@ -1529,8 +1529,17 @@ export class VectorEngine implements IVectorEngine {\n}\nprivate async syncDisputes(): Promise<Result<void, EngineError>> {\n+ try {\nawait this.vector.syn... | TypeScript | MIT License | connext/vector | wrap in try-catch |
131,894 | 02.04.2021 19:45:09 | -7,200 | 399da6af8cc2d90e1518232df57ec61139cd4e9b | Handle withdrawal cancellations | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/commitments/withdraw.ts",
"new_path": "modules/contracts/src.ts/commitments/withdraw.ts",
"diff": "@@ -4,7 +4,7 @@ import {\nWithdrawDataEncoding,\nChannelCommitmentTypes,\n} from \"@connext/vector-types\";\n-import { recoverAddressFro... | TypeScript | MIT License | connext/vector | Handle withdrawal cancellations |
131,905 | 04.04.2021 13:15:42 | 21,600 | 6ae87885ed2b15c0846d83583bf5604796d1039a | isAkuve tests | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/forwarding.ts",
"new_path": "modules/router/src/forwarding.ts",
"diff": "@@ -25,6 +25,7 @@ import {\ngetSignerAddressFromPublicIdentifier,\nhashTransferQuote,\nrecoverAddressFromChannelMessage,\n+ ServerNodeServiceError,\n} from \"@connext/v... | TypeScript | MIT License | connext/vector | isAkuve tests |
131,905 | 04.04.2021 13:51:20 | 21,600 | e233fbe0ef44fc251febb36d1a0c2d7ba3205e28 | Add unknown update to error updates | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/forwarding.ts",
"new_path": "modules/router/src/forwarding.ts",
"diff": "@@ -1101,6 +1101,7 @@ export const handlePendingUpdates = async (\nif (type !== RouterUpdateType.TRANSFER_RESOLUTION) {\nlogger.error({ update: routerUpdate }, \"Unknow... | TypeScript | MIT License | connext/vector | Add unknown update to error updates |
131,905 | 04.04.2021 13:51:31 | 21,600 | 5510c91b3de9894bded8a85f05db93c76002dcc7 | Finish handlePendingUpdate tests | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/forwarding.spec.ts",
"new_path": "modules/router/src/test/forwarding.spec.ts",
"diff": "@@ -775,7 +775,7 @@ describe(testName, () => {\n});\n});\n- describe.only(\"handlePendingUpdates\", () => {\n+ describe(\"handlePendingUpdates\", ()... | TypeScript | MIT License | connext/vector | Finish handlePendingUpdate tests |
131,894 | 05.04.2021 15:51:59 | -7,200 | a52892365448e455cd478caacd60a3986dde0d84 | Test sendDeployTx fn | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"diff": "-import { FullChannelState, FullTransferState, HashlockTransferStateEncoding } from \"@connext/vector-types\";\n+import {\n+ Cha... | TypeScript | MIT License | connext/vector | Test sendDeployTx fn |
131,905 | 05.04.2021 13:05:58 | 21,600 | b9cbf7b24fdeddee15e0a16a8f0790628fa55a4d | handleUnverifiedUpdates unit tests | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/forwarding.ts",
"new_path": "modules/router/src/forwarding.ts",
"diff": "@@ -956,12 +956,19 @@ export const handleUnverifiedUpdates = async (\nlogger,\n);\nif (createRes.isError) {\n- await handleUpdateErr(update, \"Failed to create with rec... | TypeScript | MIT License | connext/vector | handleUnverifiedUpdates unit tests |
131,905 | 05.04.2021 15:03:56 | 21,600 | 2668deb4f67bf59f31b8316a0d7381913f57363f | WIP handleRouterDroppedTransfers test | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/forwarding.spec.ts",
"new_path": "modules/router/src/test/forwarding.spec.ts",
"diff": "@@ -1554,4 +1554,47 @@ describe(testName, () => {\n]);\n});\n});\n+\n+ describe(\"handleRouterDroppedTransfers\", () => {\n+ // constants\n+ const c... | TypeScript | MIT License | connext/vector | WIP handleRouterDroppedTransfers test |
131,905 | 05.04.2021 17:16:43 | 21,600 | 140d3c2456c11754933c78813e6290175ee4bb1a | Add admin endpoint for tx | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.ts",
"new_path": "modules/contracts/src.ts/services/ethService.ts",
"diff": "@@ -42,6 +42,7 @@ import { Evt } from \"evt\";\nimport { ChannelFactory, VectorChannel } from \"../artifacts\";\nimport { EthereumChainRea... | TypeScript | MIT License | connext/vector | Add admin endpoint for tx |
131,905 | 05.04.2021 17:31:55 | 21,600 | 99c0d1fd1b3c136d02d8737e7d6cfd66d82ba8e1 | Gas price retrieved just before tx sent | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.ts",
"new_path": "modules/contracts/src.ts/services/ethService.ts",
"diff": "@@ -164,12 +164,8 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n{ method, methodId, channelAddress:... | TypeScript | MIT License | connext/vector | Gas price retrieved just before tx sent |
131,899 | 05.04.2021 19:45:31 | 14,400 | b7952cd693e0b8006972ebdcc003e28605f9d5d5 | ADD: USDT, USDC, BUSD and DAI for BSC mainnet/testnet and BUSD ETH Mainnnet/Kovan/Rinkeby
ADD: USDT, USDC, BUSD and DAI for BSC mainnet/testnet and BUSD ETH Mainnnet/Kovan/Rinkeby | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/chains.json",
"new_path": "modules/utils/src/chains.json",
"diff": "\"0x1614f18fc94f47967a3fbe5ffcd46d4e7da3d787\": {\n\"symbol\": \"PAID\",\n\"mainnetEquivalent\": \"0x1614f18fc94f47967a3fbe5ffcd46d4e7da3d787\"\n+ },\n+ \"0x4fabb145d64652a94... | TypeScript | MIT License | connext/vector | ADD: USDT, USDC, BUSD and DAI for BSC mainnet/testnet and BUSD ETH Mainnnet/Kovan/Rinkeby
ADD: USDT, USDC, BUSD and DAI for BSC mainnet/testnet and BUSD ETH Mainnnet/Kovan/Rinkeby |
131,894 | 06.04.2021 08:42:48 | -7,200 | 1897a436a94ed01f0f8300b5f94991072072f73a | Realistic sig | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/testing/listeners.spec.ts",
"new_path": "modules/engine/src/testing/listeners.spec.ts",
"diff": "@@ -177,7 +177,7 @@ describe(testName, () => {\nconst test = createTestChannelState(\"create\", { alice: alice.address, bob: bob.address });\nte... | TypeScript | MIT License | connext/vector | Realistic sig |
131,894 | 06.04.2021 18:08:42 | -7,200 | 6950d9aad8f4e85a31befd0089638bde5b0f4b19 | Require iframe sig | [
{
"change_type": "MODIFY",
"old_path": "modules/iframe-app/src/ConnextManager.tsx",
"new_path": "modules/iframe-app/src/ConnextManager.tsx",
"diff": "@@ -56,14 +56,15 @@ export default class ConnextManager {\nif (!localStorage) {\nthrow new Error(\"localStorage not available in this window, please e... | TypeScript | MIT License | connext/vector | Require iframe sig |
131,894 | 06.04.2021 19:58:09 | -7,200 | 1cce3e515e9034d500f17e5a13a350d63d5cbc87 | We don't need any of this stuff | [
{
"change_type": "MODIFY",
"old_path": "modules/iframe-app/src/ConnextManager.tsx",
"new_path": "modules/iframe-app/src/ConnextManager.tsx",
"diff": "@@ -78,39 +78,12 @@ export default class ConnextManager {\n_messagingUrl = undefined;\n}\n- let storedEntropy = localStorage.getItem(\"entropy\");\n- ... | TypeScript | MIT License | connext/vector | We don't need any of this stuff |
131,905 | 07.04.2021 15:08:39 | 21,600 | 079c3869e5aaeead527bd58d44f755469f244e00 | Add timeout to collateral request | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/collateral.ts",
"new_path": "modules/router/src/services/collateral.ts",
"diff": "@@ -383,6 +383,8 @@ export const requestCollateral = async (\nprovider,\ntx.txHash,\ngetConfirmationsForChain(channel.networkContext.chainId),\n+ // I... | TypeScript | MIT License | connext/vector | Add timeout to collateral request |
131,894 | 08.04.2021 11:09:47 | -7,200 | 6e1d73241ce1b0f9e9e5376a541e63423b6e4a49 | Double matic | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/chains.json",
"new_path": "modules/utils/src/chains.json",
"diff": "\"symbol\": \"MATIC\",\n\"mainnetEquivalent\": \"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0\"\n},\n- \"0x0000000000000000000000000000000000000000\": {\n- \"symbol\": \"MATIC\... | TypeScript | MIT License | connext/vector | Double matic |
131,894 | 08.04.2021 17:56:04 | -7,200 | eabb221d6c9597c94f1080afdce6bdc57b476755 | Getting some test coverage | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"diff": "@@ -5,6 +5,7 @@ import {\nIChannelSigner,\nMinimalTransaction,\nResult,\n+ TransactionReason,\nTransactionResponseWithResult,\n}... | TypeScript | MIT License | connext/vector | Getting some test coverage |
131,894 | 08.04.2021 18:37:07 | -7,200 | e91c8fa266f6da0d34bef0d3e8117060f577bee1 | 30% coverage | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"diff": "@@ -36,6 +36,8 @@ let approveMock: SinonStub;\nlet getCodeMock: SinonStub;\nlet getOnchainBalanceMock: SinonStub;\n+let channelS... | TypeScript | MIT License | connext/vector | 30% coverage |
131,905 | 08.04.2021 13:15:26 | 21,600 | 897d1397380c8f1b4988b74e668e96be73e2867f | Update autorebalance messages | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -453,7 +453,7 @@ export const completeRebalance = async (\nstatusUrl,\npostBody,\n},\n- \"Sending rebalance execute request\",\n+ \"Sending r... | TypeScript | MIT License | connext/vector | Update autorebalance messages |
131,905 | 11.04.2021 00:14:37 | -14,400 | c8fbe7df6047abda9b444b662985041c21768a1b | handleRouterDroppedTransfers test | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/forwarding.ts",
"new_path": "modules/router/src/forwarding.ts",
"diff": "@@ -804,7 +804,7 @@ export const handleRouterDroppedTransfers = async (\nu.type === RouterUpdateType.TRANSFER_CREATION,\n);\nif (receiverUpdate) {\n- // recipient updat... | TypeScript | MIT License | connext/vector | handleRouterDroppedTransfers test |
131,905 | 11.04.2021 22:43:22 | -14,400 | 0451d5bf3dab10eac9a55b1f71ca67ba6e75fd32 | Remove PROCESSING status | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/store.ts",
"new_path": "modules/router/src/services/store.ts",
"diff": "@@ -9,7 +9,6 @@ export const RouterUpdateStatus = {\nCOMPLETE: \"COMPLETE\",\nFAILED: \"FAILED\",\nPENDING: \"PENDING\",\n- PROCESSING: \"PROCESSING\",\nUNVERIF... | TypeScript | MIT License | connext/vector | Remove PROCESSING status |
131,905 | 11.04.2021 22:43:33 | -14,400 | c40b19ff311ff01a4d42edd2d2e5df921ce8b693 | Add in memory block for transfers being processed | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/forwarding.ts",
"new_path": "modules/router/src/forwarding.ts",
"diff": "@@ -634,6 +634,12 @@ export async function handleIsAlive(\nreturn dropped;\n}\n+// This function holds updates in memory that are currently\n+// being processed. This a... | TypeScript | MIT License | connext/vector | Add in memory block for transfers being processed |
131,905 | 11.04.2021 23:34:12 | -14,400 | 1412ee4292fbdeb88918eb721e251eee9f7e67b5 | Handle store errors better | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/errors.ts",
"new_path": "modules/router/src/errors.ts",
"diff": "@@ -155,6 +155,7 @@ export class CheckInError extends RouterError {\nCouldNotGetChannel: \"Could not get channel, or not found\",\nCouldNotGetRegistryInfo: \"Could not get tran... | TypeScript | MIT License | connext/vector | Handle store errors better |
131,894 | 12.04.2021 12:53:14 | -14,400 | d57613e3605467035930886aee9efa32a3bb0249 | Sign in iframe if possible | [
{
"change_type": "MODIFY",
"old_path": "modules/browser-node/package.json",
"new_path": "modules/browser-node/package.json",
"diff": "\"@ethersproject/address\": \"5.1.0\",\n\"@ethersproject/bignumber\": \"5.1.0\",\n\"@ethersproject/constants\": \"5.1.0\",\n+ \"@ethersproject/providers\": \"5.1.0\",... | TypeScript | MIT License | connext/vector | Sign in iframe if possible |
131,894 | 12.04.2021 13:01:26 | -14,400 | 74f0d6173f57c97109f1849057e38e4b9d697f15 | Move signing into iframe | [
{
"change_type": "MODIFY",
"old_path": "modules/test-ui/src/App.tsx",
"new_path": "modules/test-ui/src/App.tsx",
"diff": "@@ -60,20 +60,10 @@ function App() {\nmessagingUrl: config.messagingUrl,\n});\nlet init: { signature?: string; signer?: string } | undefined = undefined;\n- let _loginProvider: p... | TypeScript | MIT License | connext/vector | Move signing into iframe |
131,894 | 12.04.2021 13:24:25 | -14,400 | 7cc2e594e601aaa20efbcb247cc127a06ea68d45 | Remove unecessary getAddress | [
{
"change_type": "MODIFY",
"old_path": "modules/iframe-app/src/ConnextManager.tsx",
"new_path": "modules/iframe-app/src/ConnextManager.tsx",
"diff": "@@ -128,7 +128,7 @@ export default class ConnextManager {\nconst accts = await provider.request({ method: \"eth_requestAccounts\" });\nconst web3provi... | TypeScript | MIT License | connext/vector | Remove unecessary getAddress |
131,894 | 13.04.2021 10:21:38 | -14,400 | 9f884209e02c818e1256959782ed19f094e576e2 | Add proper message | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"diff": "@@ -449,7 +449,13 @@ describe.only(\"ethService\", () => {\nit(\"retries if it's a retryable error\", async () => {\nsendTxAndPa... | TypeScript | MIT License | connext/vector | Add proper message |
131,905 | 13.04.2021 12:23:27 | -14,400 | bbcb0574e99f779556edc064f50b8d3f46a8d962 | Update package versions, remove unneeded dependencies | [
{
"change_type": "MODIFY",
"old_path": "modules/browser-node/package.json",
"new_path": "modules/browser-node/package.json",
"diff": "\"ajv\": \"6.12.6\",\n\"axios\": \"0.21.1\",\n\"dexie\": \"3.0.3\",\n- \"merkletreejs\": \"0.2.13\",\n\"pino\": \"6.11.1\"\n},\n\"devDependencies\": {\n"
},
{
... | TypeScript | MIT License | connext/vector | Update package versions, remove unneeded dependencies |
131,905 | 13.04.2021 12:24:40 | -14,400 | a75cbcf89c6a5ef314cd7c848a96153ece766876 | Use same utils | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethService.spec.ts",
"diff": "@@ -8,17 +8,15 @@ import {\nexpect,\ngetRandomAddress,\ngetRandomBytes32,\n- hashCoreTransferState,\n+ generateMerkleTreeData,\n... | TypeScript | MIT License | connext/vector | Use same utils |
131,905 | 13.04.2021 12:24:48 | -14,400 | ee5949034c12e645fee940315ca7ca3f4015396e | Add tests for merkle tree | [
{
"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": "@@ -19,10 +19,8 @@ import {\nimport { BigNumber, BigNumberish } from \"@ethersproject/bignumber\";\nimport { AddressZero, ... | TypeScript | MIT License | connext/vector | Add tests for merkle tree |
131,905 | 13.04.2021 12:25:05 | -14,400 | d58f46c30b27af3ba8aa3ef2fb75e965083c82b5 | Remove imports, .only | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/merkle.spec.ts",
"new_path": "modules/utils/src/merkle.spec.ts",
"diff": "@@ -2,12 +2,8 @@ import { createCoreTransferState, expect } from \"./test\";\nimport { getRandomBytes32 } from \"./hexStrings\";\nimport { generateMerkleTreeData } from... | TypeScript | MIT License | connext/vector | Remove imports, .only |
131,894 | 14.04.2021 11:30:29 | -14,400 | f7d64ae84921812716139a69a47c5d24e1b876e1 | Allow decimal fees | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/fees.ts",
"new_path": "modules/router/src/services/fees.ts",
"diff": "@@ -8,6 +8,7 @@ import {\nGAS_ESTIMATES,\n} from \"@connext/vector-types\";\nimport {\n+ calculateExchangeAmount,\ngetBalanceForAssetId,\ngetParticipant,\ngetRand... | TypeScript | MIT License | connext/vector | Allow decimal fees |
131,894 | 15.04.2021 10:33:28 | -14,400 | 6334d4bd14acb642c539ea86c7aa8c4c6f1ee0dd | Move things to avoid races | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/index.ts",
"new_path": "modules/engine/src/index.ts",
"diff": "@@ -954,19 +954,10 @@ export class VectorEngine implements IVectorEngine {\n}\nconst createParams = createResult.getValue();\nconst initiatorSubmits = createParams.meta.initiator... | TypeScript | MIT License | connext/vector | Move things to avoid races |
131,894 | 15.04.2021 10:52:58 | -14,400 | e7f4d0727445954259e0d140e95ac5a1df967eea | Fix iframe sigining | [
{
"change_type": "MODIFY",
"old_path": "modules/iframe-app/src/ConnextManager.tsx",
"new_path": "modules/iframe-app/src/ConnextManager.tsx",
"diff": "@@ -117,11 +117,16 @@ export default class ConnextManager {\nrequest: EngineParams.RpcRequest,\n): Promise<ChannelRpcMethodsResponsesMap[T]> {\nif (re... | TypeScript | MIT License | connext/vector | Fix iframe sigining |
131,905 | 15.04.2021 14:22:42 | -14,400 | 83b929b2ea8fe0df96606a1be950a91d7f8337bd | works 100 times in a row | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/merkle.spec.ts",
"new_path": "modules/utils/src/merkle.spec.ts",
"diff": "@@ -43,6 +43,7 @@ describe(\"generateMerkleTreeData\", () => {\nexpect(tree.verify(proof!, leaf, root)).to.be.true;\n});\n+ for (const _ of Array(100).fill(0)) {\nit.on... | TypeScript | MIT License | connext/vector | works 100 times in a row |
131,894 | 15.04.2021 17:31:12 | -14,400 | 4bb154a2df0c6bb92a919aadbe8712730cba0b98 | Works with tests | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/merkle.spec.ts",
"new_path": "modules/utils/src/merkle.spec.ts",
"diff": "@@ -8,6 +8,7 @@ import { MerkleTree } from \"merkletreejs\";\nimport { keccak256 } from \"ethereumjs-util\";\nimport { keccak256 as solidityKeccak256 } from \"@etherspr... | TypeScript | MIT License | connext/vector | Works with tests |
131,905 | 15.04.2021 18:23:04 | -14,400 | 3c720687405bafd939617f23b8e1bb931a87a91d | Add transfer 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": "@@ -69,7 +69,7 @@ describe(\"CMCAdjudicator.sol\", async function () {\nconst verifyTransferDispute = async (cts: FullTran... | TypeScript | MIT License | connext/vector | Add transfer tests |
131,904 | 16.04.2021 12:53:54 | -10,800 | 5b1ea85bf52b9a77e8f6b1f967fc229a058bde0e | Add Mumbai Props token info | [
{
"change_type": "MODIFY",
"old_path": "modules/utils/src/chains.json",
"new_path": "modules/utils/src/chains.json",
"diff": "\"0x0000000000000000000000000000000000001010\": {\n\"symbol\": \"MATIC\",\n\"mainnetEquivalent\": \"0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0\"\n+ },\n+ \"0x48987E8B356e0dE4... | TypeScript | MIT License | connext/vector | Add Mumbai Props token info |
131,900 | 16.04.2021 17:07:01 | -19,080 | 38b2abc10e70e1949b5dc9e67b38f0bacb662115 | add: new test
For getHydratedProviders, getSyncing, getCode | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/services/ethReader.spec.ts",
"new_path": "modules/contracts/src.ts/services/ethReader.spec.ts",
"diff": "@@ -36,8 +36,21 @@ let provider1338: SinonStubbedInstance<JsonRpcProvider>;\n// let getCodeMock: SinonStub;\n// let getOnchainBala... | TypeScript | MIT License | connext/vector | add: new test
For getHydratedProviders, getSyncing, getCode |
131,894 | 19.04.2021 17:07:21 | -14,400 | d96689fdc9ec28e4b4c66f74a767fc66f254af35 | Wrap metrics in object | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/messaging.ts",
"new_path": "modules/router/src/services/messaging.ts",
"diff": "@@ -71,6 +71,6 @@ export class NatsRouterMessagingService extends NatsBasicMessagingService implem\n}\nasync broadcastMetrics(publicIdentifier: string, ... | TypeScript | MIT License | connext/vector | Wrap metrics in object |
131,894 | 20.04.2021 11:11:53 | -14,400 | 18c7f11ebe585dfd1d293f5ca0ca07e65478f96d | Deploy to harmony One | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/deployments/harmony/ChannelFactory.json",
"new_path": "modules/contracts/deployments/harmony/ChannelFactory.json",
"diff": "{\n- \"address\": \"0x383864fd16afa0Af2c5516E73753E4E07e1dE704\",\n+ \"address\": \"0xe561583d3A0dba55569Da8ff2e51a74d... | TypeScript | MIT License | connext/vector | Deploy to harmony One |
131,900 | 20.04.2021 13:33:15 | -19,080 | 6b8f236ff390de5cd3ee64e904db3a4df9e23e66 | chg: make function external | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.sol/amm/StableSwap.sol",
"new_path": "modules/contracts/src.sol/amm/StableSwap.sol",
"diff": "// Wrapper StableMath\n+pragma solidity ^0.7.0;\nimport \"./lib/math/FixedPoint.sol\";\n@@ -25,12 +26,12 @@ contact StableSwap is StableMath {\n... | TypeScript | MIT License | connext/vector | chg: make function external |
131,900 | 20.04.2021 21:21:46 | -19,080 | 68de7ef1887b5c24583245f28d6d32547704c0da | add comments for amm function in config. | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "import { AllowedSwap, Result } from \"@connext/vector-types\";\nimport { getAddress } from \"@ethersproject/address\";\n+import { BigNumber } from \"@etherspr... | TypeScript | MIT License | connext/vector | add comments for amm function in config. |
131,896 | 31.03.2021 16:09:43 | 25,200 | 324049a33aa78bd751263e5fc9c3daf510339e86 | add : check to ensure hashes are being passed into store save | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/autoRebalance.spec.ts",
"new_path": "modules/router/src/test/autoRebalance.spec.ts",
"diff": "@@ -119,6 +119,7 @@ describe(testName, () => {\n});\nconst hash = mkBytes32(\"0xa\");\n+ // Based on the numbers hard coded below, the auto re... | TypeScript | MIT License | connext/vector | add : check to ensure hashes are being passed into store save |
131,896 | 31.03.2021 16:41:04 | 25,200 | fa4aa883bc68bd2ecd091c16201c2d043fc366b6 | use PENDING status to prioritize entry saving before making tx's | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -183,63 +183,63 @@ export const rebalanceIfNeeded = async (\n// if it is not completed, wait for next poll\n// check if an active rebalance i... | TypeScript | MIT License | connext/vector | use PENDING status to prioritize entry saving before making tx's |
131,896 | 31.03.2021 17:09:22 | 25,200 | d1370bc21a4366ac285717187cbcb831577279b2 | add FINISHED state | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -260,6 +260,13 @@ export const rebalanceIfNeeded = async (\n};\nawait store.saveRebalance(latestRebalance);\n}\n+\n+ if (latestRebalance.stat... | TypeScript | MIT License | connext/vector | add FINISHED state |
131,896 | 01.04.2021 14:28:21 | 25,200 | 39a09e5f8d0cad4f6a3b77ddfd9c16cc1a2fc693 | add : callback for saving hash on tx sent | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -23,13 +23,15 @@ import { v4 as uuidv4 } from \"uuid\";\nimport { getConfig } from \"../config\";\nimport { AutoRebalanceServiceError } from ... | TypeScript | MIT License | connext/vector | add : callback for saving hash on tx sent |
131,896 | 01.04.2021 14:30:09 | 25,200 | 0bfeed4e52eee759073adf37cbacc54603915c65 | remove leftover type | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -30,8 +30,6 @@ const config = getConfig();\nconst DEFAULT_REBALANCE_THRESHOLD = 20;\nconst MIN_INTERVAL = 1_800_000;\n-type TxSentCallback = ... | TypeScript | MIT License | connext/vector | remove leftover type |
131,896 | 01.04.2021 14:31:19 | 25,200 | 6bdeebade0f794663d9ae2eb491958178809f7f8 | remove unused callback generator method | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -198,19 +198,6 @@ export const rebalanceIfNeeded = async (\nawait store.saveRebalance(latestRebalance);\n}\n- // A factory-like method for cr... | TypeScript | MIT License | connext/vector | remove unused callback generator method |
131,896 | 01.04.2021 18:52:49 | 25,200 | 419a22dd67bbde66a161f57535c6d71c90ce5666 | add a priority queue to avoid race condition with rebalancing | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -23,6 +23,7 @@ import { v4 as uuidv4 } from \"uuid\";\nimport { getConfig } from \"../config\";\nimport { AutoRebalanceServiceError } from \"... | TypeScript | MIT License | connext/vector | add a priority queue to avoid race condition with rebalancing |
131,896 | 01.04.2021 19:47:34 | 25,200 | 8806ae2c0e41c76cb74eb82bedd3271c48b8553a | tune up : state machine flow | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "-import { VectorChainReader } from \"@connext/vector-contracts\";\n+import { VectorChainReader, waitForTransaction } from \"@connext/vector-cont... | TypeScript | MIT License | connext/vector | tune up : state machine flow |
131,896 | 02.04.2021 11:15:58 | 25,200 | 0dd1694f31693380bc835b7eda80a967eb082089 | fix issue not compiling | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -90,7 +90,7 @@ export const rebalanceIfNeeded = async (\nhydratedProviders: HydratedProviders,\nstore: IRouterStore,\n): Promise<Result<undef... | TypeScript | MIT License | connext/vector | fix issue not compiling |
131,896 | 02.04.2021 16:19:25 | 25,200 | ada96c18111d407883a1efb01edde13115164749 | handle case where approve tx not needed | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -238,16 +238,21 @@ const _rebalanceIfNeeded = async (\nif (approveResult.isError) {\nreturn Result.fail(approveResult.getError()!);\n}\n- // ... | TypeScript | MIT License | connext/vector | handle case where approve tx not needed |
131,896 | 03.04.2021 14:31:18 | 25,200 | 0a788bc1ab40e7c570a28973dd4a5ca8767fee59 | add to schema approve/execute/complete chain id | [
{
"change_type": "MODIFY",
"old_path": "modules/router/prisma-sqlite/schema.prisma",
"new_path": "modules/router/prisma-sqlite/schema.prisma",
"diff": "@@ -22,8 +22,11 @@ model AutoRebalance {\nid String @id @default(uuid())\nstatus String\napproveHash String?\n+ approveChain String?\nexecuteHash St... | TypeScript | MIT License | connext/vector | add to schema approve/execute/complete chain id |
131,896 | 07.04.2021 13:13:08 | 14,400 | 53959046e34c0837e321c9f28a014fbc976bcd5b | pass chain explicitly into getConfirmation | [
{
"change_type": "MODIFY",
"old_path": "modules/router/prisma-sqlite/schema.prisma",
"new_path": "modules/router/prisma-sqlite/schema.prisma",
"diff": "@@ -22,11 +22,11 @@ model AutoRebalance {\nid String @id @default(uuid())\nstatus String\napproveHash String?\n- approveChain String?\n+ approveChai... | TypeScript | MIT License | connext/vector | pass chain explicitly into getConfirmation |
131,896 | 07.04.2021 15:32:34 | 14,400 | 7b96122bb1053f032d361eb3304513f53c26746c | generate migration scripts | [
{
"change_type": "MODIFY",
"old_path": "modules/router/prisma-postgres/schema.prisma",
"new_path": "modules/router/prisma-postgres/schema.prisma",
"diff": "@@ -22,8 +22,11 @@ model AutoRebalance {\nid String @id @default(uuid())\nstatus String\napproveHash String?\n+ approveChain Int?\nexecuteHash S... | TypeScript | MIT License | connext/vector | generate migration scripts |
131,896 | 09.04.2021 14:18:10 | 14,400 | aecf4fd5fcfb993d5540d144a743dd6543d4781d | replace prev migrations with migrations saving chainID as string | [
{
"change_type": "MODIFY",
"old_path": "modules/router/prisma-sqlite/schema.prisma",
"new_path": "modules/router/prisma-sqlite/schema.prisma",
"diff": "@@ -22,11 +22,11 @@ model AutoRebalance {\nid String @id @default(uuid())\nstatus String\napproveHash String?\n- approveChain Int?\n+ approveChain S... | TypeScript | MIT License | connext/vector | replace prev migrations with migrations saving chainID as string |
131,896 | 09.04.2021 16:06:24 | 14,400 | 2ac4db3ccd404cc716701c26cba4e7e0778e5244 | make migrations in correct module | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "modules/router/prisma-postgres/migrations/20210409193148_autorebalance_record_save_chain_i_ds_for_executed_txs/migration.sql",
"diff": "+-- AlterTable\n+ALTER TABLE \"AutoRebalance\" ADD COLUMN \"approveChain\" INTEGER,\n+ADD COLUMN \"executeCha... | TypeScript | MIT License | connext/vector | make migrations in correct module |
131,896 | 19.04.2021 12:29:21 | 25,200 | 5070f4cbc44557ac8f25096fddeefa73fe739691 | test queuing | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/autoRebalance.ts",
"new_path": "modules/router/src/services/autoRebalance.ts",
"diff": "@@ -355,25 +355,9 @@ const _rebalanceIfNeeded = async (\nmethodId,\n);\nif (completedResult.isError) {\n- logger.error(\n- {\n- method,\n- inter... | TypeScript | MIT License | connext/vector | test queuing |
131,896 | 20.04.2021 22:04:12 | 25,200 | d5663feaf6e014e0ec93bd051bb57a2001d05192 | add : stable swap to artifacts index | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/artifacts.ts",
"new_path": "modules/contracts/src.ts/artifacts.ts",
"diff": "@@ -16,6 +16,7 @@ import * as VectorChannel from \"../artifacts/src.sol/interfaces/IVectorChannel.s\nimport * as Withdraw from \"../artifacts/src.sol/transfer... | TypeScript | MIT License | connext/vector | add : stable swap to artifacts index |
131,894 | 21.04.2021 21:51:44 | -14,400 | 36138bcd4cad867ac868b596bddeb80168e04ab8 | Routing complete | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/listeners.ts",
"new_path": "modules/engine/src/listeners.ts",
"diff": "@@ -36,6 +36,7 @@ import {\nIVectorStore,\nDEFAULT_FEE_EXPIRY,\nDEFAULT_CHANNEL_TIMEOUT,\n+ RouterSchemas,\n} from \"@connext/vector-types\";\nimport { getRandomBytes32, ... | TypeScript | MIT License | connext/vector | Routing complete |
131,896 | 21.04.2021 12:52:27 | 25,200 | 9995e163a1730cab367e5b22b45fc700a3929b7e | add : new config fns unit test skele | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/services/config.spec.ts",
"new_path": "modules/router/src/test/services/config.spec.ts",
"diff": "@@ -23,4 +23,20 @@ describe(\"config.ts\", () => {\nexpect(res.getValue()).to.be.deep.eq(config.rebalanceProfiles[0]);\n});\n});\n+\n+ des... | TypeScript | MIT License | connext/vector | add : new config fns unit test skele |
131,896 | 21.04.2021 12:58:30 | 25,200 | 7be3ace2d3fe2e207efdc8b6bc80f8bb4543cdf8 | update changelog to reflect autorebalancer renovation | [
{
"change_type": "MODIFY",
"old_path": "modules/documentation/docs/changelog.md",
"new_path": "modules/documentation/docs/changelog.md",
"diff": "## 0.2.4-beta.1\n- \\[iframe\\] Catch sig undefined error and propogate\n+- \\[router\\] Improvements to `autoRebalance` for better state machine. Separat... | TypeScript | MIT License | connext/vector | update changelog to reflect autorebalancer renovation |
131,896 | 21.04.2021 13:16:37 | 25,200 | 2bbf811c37f275a27f329f93da8aef429ec5d704 | move note up to Next Release | [
{
"change_type": "MODIFY",
"old_path": "modules/documentation/docs/changelog.md",
"new_path": "modules/documentation/docs/changelog.md",
"diff": "## Next Release\n+- \\[router\\] Improvements to `autoRebalance` for better state machine. Separate sending tx and waiting for confirmation. Store tx hash... | TypeScript | MIT License | connext/vector | move note up to Next Release |
131,896 | 21.04.2021 22:23:15 | 25,200 | acb6da5d142ef3dee2ae8c6a8b9708af0b6a0d4f | use .abi in stable swap | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "@@ -132,7 +132,7 @@ export const onSwapGivenIn = async (\nconst goerliProvider: JsonRpcProvider = \"\";\ntry {\n- const stableSwap = new Contract(StableSwapGo... | TypeScript | MIT License | connext/vector | use .abi in stable swap |
131,900 | 22.04.2021 15:23:13 | -19,080 | 7a443337ae086312a317d359c55a2b9707ca10eb | chg: stable swap for amplification parameter | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.sol/amm/StableSwap.sol",
"new_path": "modules/contracts/src.sol/amm/StableSwap.sol",
"diff": "@@ -7,21 +7,33 @@ import \"./pools/stable/StablePoolUserDataHelpers.sol\";\nimport \"./pools/stable/StableMath.sol\";\ncontract StableSwap is St... | TypeScript | MIT License | connext/vector | chg: stable swap for amplification parameter |
131,900 | 22.04.2021 15:26:39 | -19,080 | da64f664d3441dfc84f1a4239db8736ad4951fab | update test param !minor | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/src.ts/tests/amm/StableSwap.spec.ts",
"new_path": "modules/contracts/src.ts/tests/amm/StableSwap.spec.ts",
"diff": "@@ -17,7 +17,7 @@ describe(\"StableSwap.sol\", function () {\nlet amount90 = parseEther(\"90\");\nlet amount95 = parseEther(\"... | TypeScript | MIT License | connext/vector | update test param !minor |
131,900 | 22.04.2021 21:44:05 | -19,080 | a63a4bd8841db8841dc2bbd3e40fa5e4744ff126 | new: getMappedAssets
balances should include all the pools | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "@@ -85,6 +85,24 @@ export const getSwapFees = (\n});\n};\n+export const getMappedAssets = (_assetId: string, _chainId: number): { assetId: string; chainId: nu... | TypeScript | MIT License | connext/vector | new: getMappedAssets
balances should include all the pools |
131,900 | 22.04.2021 21:44:52 | -19,080 | 8bea498a9e990fb160b99bb83f6166ba641edff6 | new: unit test for AMM func | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/services/config.spec.ts",
"new_path": "modules/router/src/test/services/config.spec.ts",
"diff": "+import { VectorChainReader, StableSwap } from \"@connext/vector-contracts\";\nimport { expect, mkAddress } from \"@connext/vector-utils\"... | TypeScript | MIT License | connext/vector | new: unit test for AMM func |
131,900 | 22.04.2021 21:45:12 | -19,080 | a911dfe589efe96388f8d1a98ca8a45c6cafc1a7 | rmv: only condition | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/test/services/config.spec.ts",
"new_path": "modules/router/src/test/services/config.spec.ts",
"diff": "@@ -9,7 +9,7 @@ import { parseEther } from \"ethers/lib/utils\";\nconst config = getConfig();\n-describe.only(\"config.ts\", () => {\n+des... | TypeScript | MIT License | connext/vector | rmv: only condition |
131,900 | 22.04.2021 22:54:22 | -19,080 | 682ded5c302486931181346e2184b5dac0b5c95b | add: AMM error | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/errors.ts",
"new_path": "modules/router/src/errors.ts",
"diff": "@@ -237,6 +237,8 @@ export class FeeError extends RouterError {\nConversionError: \"Error converting assets\",\nExchangeRateError: \"Error getting exchange rate\",\nFeesLargerT... | TypeScript | MIT License | connext/vector | add: AMM error |
131,900 | 22.04.2021 22:55:31 | -19,080 | d37100247ece536c603a56926a5c82f99fb37f06 | update: chainReader type in onSwapGivenIn func | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "-import { AllowedSwap, Result, jsonifyError } from \"@connext/vector-types\";\n+import { AllowedSwap, Result, jsonifyError, IVectorChainReader } from \"@conne... | TypeScript | MIT License | connext/vector | update: chainReader type in onSwapGivenIn func |
131,900 | 22.04.2021 22:57:21 | -19,080 | ac447a75bef2b1cf739ab1ddf74dfdf51d114c25 | fix: IVectorChainReader left out function. | [
{
"change_type": "MODIFY",
"old_path": "modules/types/src/chain.ts",
"new_path": "modules/types/src/chain.ts",
"diff": "@@ -135,8 +135,6 @@ export interface IVectorChainReader {\ngetChannelMastercopyAddress(channelFactoryAddress: string, chainId: number): Promise<Result<string, ChainError>>;\n- getD... | TypeScript | MIT License | connext/vector | fix: IVectorChainReader left out function. |
131,900 | 22.04.2021 23:04:30 | -19,080 | e80ec545e78314ce4993e927c92c5f31e94b4085 | add: priceImpact in quote | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/listener.ts",
"new_path": "modules/router/src/listener.ts",
"diff": "@@ -719,7 +719,7 @@ export async function setupListeners(\n);\nreturn;\n}\n- const { fee, amount: quoteAmount } = feeRes.getValue();\n+ const { fee, amount: quoteAmount, pr... | TypeScript | MIT License | connext/vector | add: priceImpact in quote |
131,894 | 23.04.2021 00:03:49 | -14,400 | 05beb1720e4b7ab5854a296d4bb408ebe0220811 | Handle non-forwarded | [
{
"change_type": "MODIFY",
"old_path": "modules/engine/src/listeners.ts",
"new_path": "modules/engine/src/listeners.ts",
"diff": "@@ -693,7 +693,7 @@ export async function handleConditionalTransferCreation(\n// of the linked transfer so they know the path is complete (and can forward to their sender... | TypeScript | MIT License | connext/vector | Handle non-forwarded |
131,896 | 22.04.2021 16:40:30 | 25,200 | aeb6af547b999ffe488b7f07c2c7a21729ca34d4 | fix : include priceImpact in return | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "@@ -157,7 +157,6 @@ export const onSwapGivenIn = async (\nconst marketPrice = transferAmountBn;\nconst priceImpact = marketPrice.sub(amountOut).mul(100).div(m... | TypeScript | MIT License | connext/vector | fix : include priceImpact in return |
131,900 | 23.04.2021 12:08:22 | -19,080 | 85b881b44e64df8dc5ba363bc1d2f81dee8ef6f0 | add: routerSlippageTolerance param to config. | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/config.ts",
"new_path": "modules/router/src/config.ts",
"diff": "@@ -41,6 +41,7 @@ const VectorRouterConfigSchema = Type.Object({\nmnemonic: Type.Optional(Type.String()),\nstableAmmProvider: Type.Optional(TUrl),\nstableAmmAddress: Type.Optio... | TypeScript | MIT License | connext/vector | add: routerSlippageTolerance param to config. |
131,900 | 23.04.2021 12:08:50 | -19,080 | 944128368122eb52134a85f299b155e45f5f2f62 | add: amm swap function errors | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/errors.ts",
"new_path": "modules/router/src/errors.ts",
"diff": "@@ -176,6 +176,8 @@ export class ConfigServiceError extends RouterError {\nstatic readonly reasons = {\nCouldNotGetAssetBalance: \"Could not get asset balance\",\n+ RouterSlipp... | TypeScript | MIT License | connext/vector | add: amm swap function errors |
131,894 | 23.04.2021 10:51:09 | -14,400 | cda0749b3d1e294b394b5aed0b6ac0ded1b219ac | Add logging to deployment | [
{
"change_type": "MODIFY",
"old_path": "modules/contracts/deploy/deploy.ts",
"new_path": "modules/contracts/deploy/deploy.ts",
"diff": "@@ -105,10 +105,11 @@ const func: DeployFunction = async () => {\nif ([1337, 5].includes(network.config.chainId ?? 0)) {\nlog.info(`Detected AMM deployment chain ${... | TypeScript | MIT License | connext/vector | Add logging to deployment |
131,900 | 23.04.2021 12:09:20 | -19,080 | a618708608339026735437f7e8d7e0e03dfd857c | add: circuit breaker | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "-import { AllowedSwap, Result, jsonifyError, IVectorChainReader } from \"@connext/vector-types\";\n+import { AllowedSwap, Result, jsonifyError, IVectorChainRe... | TypeScript | MIT License | connext/vector | add: circuit breaker |
131,900 | 23.04.2021 12:10:40 | -19,080 | dd41cadc355da9ad7c8e4e83a3d91407ccef1823 | new: set default router slippage tolerance | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "-import { AllowedSwap, Result, jsonifyError, IVectorChainReader, DEFAULT_ROUTER_TOLERANCE } from \"@connext/vector-types\";\n+import { AllowedSwap, Result, js... | TypeScript | MIT License | connext/vector | new: set default router slippage tolerance |
131,900 | 23.04.2021 12:15:33 | -19,080 | 64ea54b680bdad2be9865ad3dccd9e697297af82 | rmv: from fees return type | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/listener.ts",
"new_path": "modules/router/src/listener.ts",
"diff": "@@ -719,7 +719,7 @@ export async function setupListeners(\n);\nreturn;\n}\n- const { fee, amount: quoteAmount, priceImpact } = feeRes.getValue();\n+ const { fee, amount: qu... | TypeScript | MIT License | connext/vector | rmv: from fees return type |
131,900 | 23.04.2021 13:01:07 | -19,080 | 0935163280db529cb2045f25a27e403d35e28cb5 | fix: router tolerance and price impact comparison | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/config.ts",
"new_path": "modules/router/src/services/config.ts",
"diff": "-import { AllowedSwap, Result, jsonifyError, IVectorChainReader, DEFAULT_ROUTER_SLIPPAGE_TOLERANCE } from \"@connext/vector-types\";\n+import {\n+ AllowedSwap... | TypeScript | MIT License | connext/vector | fix: router tolerance and price impact comparison |
131,900 | 23.04.2021 13:20:10 | -19,080 | 3684f56224a14fe66dd3f86a17cf1ab82c5d54fc | update returned amount | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/services/fees.ts",
"new_path": "modules/router/src/services/fees.ts",
"diff": "@@ -109,7 +109,7 @@ export const calculateFeeAmount = async (\n);\nif (flatFee === \"0\" && percentageFee === 0 && gasSubsidyPercentage === 100) {\n// No fees con... | TypeScript | MIT License | connext/vector | update returned amount |
131,894 | 23.04.2021 13:42:24 | -14,400 | c93829824dd5258652ee3432c7e8f1f5c366141d | Logging + fixes, defaults | [
{
"change_type": "MODIFY",
"old_path": "modules/router/src/config.ts",
"new_path": "modules/router/src/config.ts",
"diff": "@@ -39,8 +39,8 @@ const VectorRouterConfigSchema = Type.Object({\nauthUrl: Type.Optional(TUrl),\nrebalanceProfiles: Type.Array(RebalanceProfileSchema),\nmnemonic: Type.Optional... | TypeScript | MIT License | connext/vector | Logging + fixes, defaults |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.