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
18.02.2021 20:59:10
25,200
86a99d310fe8d59da75ba8ba0bb1d9f21e22ee7a
User reduced gas price constant
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "-import { FullChannelState, GAS_ESTIMATES, IVectorChainReader, jsonifyError, Result } from \"@connext/vector-types\";\n+import {\n+ FullChannelState,\n+ GAS_ESTIM...
TypeScript
MIT License
connext/vector
User reduced gas price constant
131,905
18.02.2021 21:53:38
25,200
d186986ed305980da3a03bf867f13f9990b0e7df
use subsidy percent instead of boolean
[ { "change_type": "MODIFY", "old_path": "modules/router/src/config.ts", "new_path": "modules/router/src/config.ts", "diff": "@@ -38,7 +38,7 @@ const VectorRouterConfigSchema = Type.Object({\nautoRebalanceInterval: Type.Optional(Type.Number({ minimum: 1_800_000 })),\nbasePercentageFee: Type.Optional(T...
TypeScript
MIT License
connext/vector
use subsidy percent instead of boolean
131,905
18.02.2021 22:38:33
25,200
ab4edf648cd4048c05b061352ff05354f659f877
Remove fees from forwarding
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -28,7 +28,6 @@ import {\nattemptTransferWithCollateralization,\ntransferWithCollateralization,\n} from \"./services/transfer\";\n-import { calculateFeeAmount } from ...
TypeScript
MIT License
connext/vector
Remove fees from forwarding
131,905
18.02.2021 22:38:47
25,200
d6d0364af1397fdcd07b701d0b77065d5225d07b
Default to all subsidized
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -60,7 +60,7 @@ export const calculateFeeAmount = async (\n// Get fee values from config\nlet flatFee = config.baseFlatFee ?? \"0\";\nlet percentageFee = config...
TypeScript
MIT License
connext/vector
Default to all subsidized
131,894
19.02.2021 14:28:34
-3,600
92bea34c4d497af7aeaacce4c16cf999218e043e
Add matic DAI
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/chains.json", "new_path": "modules/utils/src/chains.json", "diff": "\"0x0000000000000000000000000000000000000000\": \"XDAI\",\n\"0x4ecaba5870353805a9f068101a40e0f32ed605c6\": \"USDT\",\n\"0x4537e328bf7e4efa29d05caea260d7fe26af9d74\": \"UNI\",...
TypeScript
MIT License
connext/vector
Add matic DAI
131,905
19.02.2021 13:46:05
21,600
02cbdeea23cd76e0642ff1d0e4ed8a1cb3f46989
Check if contract is deployed before getting withdraw status
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.ts", "new_path": "modules/contracts/src.ts/services/ethReader.ts", "diff": "@@ -519,6 +519,16 @@ export class EthereumChainReader implements IVectorChainReader {\nif (!provider) {\nreturn Result.fail(new ChainError(C...
TypeScript
MIT License
connext/vector
Check if contract is deployed before getting withdraw status
131,905
19.02.2021 16:06:22
21,600
9f56b30ad4614c82ad8a77b21f25bea3836a5967
getExchangeRate tests
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/router/src/test/services/fees.spec.ts", "diff": "+import { getTestLoggers } from \"@connext/vector-utils\";\n+import axios, { AxiosStatic } from \"axios\";\n+import { expect } from \"chai\";\n+import Sinon from \"sinon\";\n+\n+import { c...
TypeScript
MIT License
connext/vector
getExchangeRate tests
131,905
19.02.2021 16:37:35
21,600
16b3b3c8fbd05b6970f9deab68732702b36707e4
normalize fees tests
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -22,7 +22,7 @@ import { BaseLogger } from \"pino\";\nimport { config } from \"../config\";\nimport { FeeError } from \"../errors\";\n-import { rebalancedTokens...
TypeScript
MIT License
connext/vector
normalize fees tests
131,905
21.02.2021 10:52:54
21,600
a69100fb85e8ae317dcb6da9c07f0d28b3048160
calculateEstimatedGasFee tests implemented
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/services/fees.spec.ts", "new_path": "modules/router/src/test/services/fees.spec.ts", "diff": "import { VectorChainReader } from \"@connext/vector-contracts\";\n-import { calculateExchangeWad, getTestLoggers, inverse, mkAddress } from \"...
TypeScript
MIT License
connext/vector
calculateEstimatedGasFee tests implemented
131,905
21.02.2021 11:04:31
21,600
98cb6795948ef913bb927cf3806980a719d5f725
Use config service for getting values from config
[ { "change_type": "MODIFY", "old_path": "modules/router/src/errors.ts", "new_path": "modules/router/src/errors.ts", "diff": "@@ -169,17 +169,13 @@ export class ConfigServiceError extends RouterError {\nstatic readonly reasons = {\nUnableToGetRebalanceProfile: \"Could not get rebalance profile\",\n+ U...
TypeScript
MIT License
connext/vector
Use config service for getting values from config
131,905
21.02.2021 12:36:46
21,600
5e2603e984a5f45b82e76a1d242b9a839aac1e4b
Finish fee tests
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -29,10 +29,8 @@ import { getSwappedAmount } from \"./swap\";\n// fees in the toAssetId. Will *NOT* return an error if fees > amount\nexport const calculateFeeA...
TypeScript
MIT License
connext/vector
Finish fee tests
131,894
22.02.2021 18:56:43
0
168393895bb54dbbee162f57ea5f18295a971608
Login provider + migration
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/package.json", "new_path": "modules/browser-node/package.json", "diff": "\"@connext/vector-types\": \"0.1.17\",\n\"@connext/vector-utils\": \"0.1.17\",\n\"@ethersproject/address\": \"5.0.8\",\n- \"@ethersproject/solidity\": \"5.0.7\",\n+ \...
TypeScript
MIT License
connext/vector
Login provider + migration
131,905
22.02.2021 13:07:35
21,600
46a9fec61fdf5dcbc51e563e6e581b9f25e894a3
WIP messages
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -197,6 +197,23 @@ export class VectorEngine implements IVectorEngine {\nreturn Result.ok([{ index: 0, publicIdentifier: this.publicIdentifier, signerAddress: this.signerAddres...
TypeScript
MIT License
connext/vector
WIP messages
131,894
22.02.2021 20:06:25
0
f352ab37d2fc48da5ddcf1849b4af83dd41031e0
Try to make work
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -151,11 +151,15 @@ export class BrowserNode implements INodeService {\nconst method = \"init\";\nthis.logger.debug({ method }, \"Method started\");\nconst iframeSr...
TypeScript
MIT License
connext/vector
Try to make work
131,894
22.02.2021 20:37:26
0
2707c21d070c8de9aa7281b8de03a880f0976ac5
Don't use typeddata
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/constants.ts", "new_path": "modules/browser-node/src/constants.ts", "diff": "@@ -5,6 +5,7 @@ export const EIP712Domain = {\nversion: \"1\",\nsalt: HashZero,\n};\n+\nexport const EIP712Types = {\nGreeting: [\n{\n@@ -13,6 +14,9 @@ export...
TypeScript
MIT License
connext/vector
Don't use typeddata
131,905
22.02.2021 15:37:25
21,600
0049bf2d7d0a6cf218741c3799d51988ae899174
Search by multiple update statuses
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/store.ts", "new_path": "modules/router/src/services/store.ts", "diff": "@@ -30,7 +30,10 @@ export type RouterStoredUpdate<T extends RouterUpdateType> = {\nstatus: RouterUpdateStatus;\n};\nexport interface IRouterStore {\n- getQueued...
TypeScript
MIT License
connext/vector
Search by multiple update statuses
131,905
22.02.2021 15:39:17
21,600
98b388040cd86a05cbbb9caabbeb2232a28b4b71
Handle router dying gracefully
[ { "change_type": "MODIFY", "old_path": "modules/router/src/errors.ts", "new_path": "modules/router/src/errors.ts", "diff": "@@ -147,7 +147,10 @@ export class CheckInError extends RouterError {\nstatic readonly type = \"CheckInError\";\nstatic readonly reasons = {\n+ CouldNotGetActiveTransfers: \"Fai...
TypeScript
MIT License
connext/vector
Handle router dying gracefully
131,905
22.02.2021 15:49:26
21,600
30daa9611eaa0bb705e54867a1935acb8c8c880d
Only execute if updates failed
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -527,7 +527,15 @@ export async function handleIsAlive(\nlogger,\n);\n- // TODO: should this be done IFF the processing pending updates doesnt fail?\n+ const errors =...
TypeScript
MIT License
connext/vector
Only execute if updates failed
131,905
22.02.2021 15:58:39
21,600
470de963bcc8153e42df0b9d709db4ac46d568d2
Remove duplicate tracking
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -64,7 +64,6 @@ export async function forwardTransferCreation(\n},\n\"Method started\",\n);\n- inProgressCreations[data.transfer.channelAddress].push(data.transfer.tr...
TypeScript
MIT License
connext/vector
Remove duplicate tracking
131,905
22.02.2021 16:47:47
21,600
33525aa2a0766def99d0b40f9a61dabaf3acdd38
Implement messaging methods
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/messaging.ts", "new_path": "modules/router/src/services/messaging.ts", "diff": "-import { RouterConfigResponse, IBasicMessaging, Result, RouterError, MessagingError } from \"@connext/vector-types\";\n+import { IBasicMessaging, Resul...
TypeScript
MIT License
connext/vector
Implement messaging methods
131,905
22.02.2021 16:48:03
21,600
4a0d531a57db4eb2621c1a8f174b242ed7b497c3
Fix engine implementation
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -199,7 +199,7 @@ export class VectorEngine implements IVectorEngine {\nprivate async getTransferQuote(\nparams: EngineParams.GetTransferQuote,\n- ): Promise<Result<ChannelRpcM...
TypeScript
MIT License
connext/vector
Fix engine implementation
131,894
23.02.2021 09:00:02
0
5edcaa3890c1d0d36fa257da64351779c92702e6
Login provider
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/constants.ts", "new_path": "modules/browser-node/src/constants.ts", "diff": "@@ -19,4 +19,4 @@ export const EIP712Value = {\ncontents: \"Welcome to Connext. Please confirm signature to sign in!\",\n};\n-export const NonEIP712Message = ...
TypeScript
MIT License
connext/vector
Login provider
131,905
23.02.2021 11:01:01
21,600
385e8fdd17f88be4041e19c05888f5e263d9ffa4
Add transfer encoding/decoding tests
[ { "change_type": "MODIFY", "old_path": "modules/types/src/transferDefinitions/shared.ts", "new_path": "modules/types/src/transferDefinitions/shared.ts", "diff": "@@ -57,10 +57,10 @@ export type RegisteredTransfer = {\nexport type TransferQuote = Omit<NodeResponses.GetTransferQuote, \"signature\">;\n...
TypeScript
MIT License
connext/vector
Add transfer encoding/decoding tests
131,905
23.02.2021 11:26:59
21,600
3d8b3148ed5c7ca79685eb8f93eaee0aef309eb7
Add chainAddresses getter
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -216,6 +216,11 @@ export class BrowserNode implements INodeService {\nreturn this.send(rpc);\n}\n+ async getChainAddresses(): Promise<Result<NodeResponses.GetChain...
TypeScript
MIT License
connext/vector
Add chainAddresses getter
131,905
23.02.2021 16:20:39
21,600
d16e5f6a7016f7adc3818f58c2cc1ae1719c2806
Remove getChainAddresses + add to config
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -216,11 +216,6 @@ export class BrowserNode implements INodeService {\nreturn this.send(rpc);\n}\n- async getChainAddresses(): Promise<Result<NodeResponses.GetChain...
TypeScript
MIT License
connext/vector
Remove getChainAddresses + add to config
131,905
23.02.2021 16:30:32
21,600
04a7eeb0f17fc36c09325e47354e630007b1bb5c
Remove provider url from db
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/prisma-postgres/migrations/20210223223007_remove_provider_url/migration.sql", "diff": "+/*\n+ Warnings:\n+\n+ - You are about to drop the column `providerUrl` on the `channel` table. All the data in the column will be lost.\n...
TypeScript
MIT License
connext/vector
Remove provider url from db
131,894
24.02.2021 10:22:39
0
4815a79f3b483b944ec84d7abf7d67e1b79c0003
Make mock-able config
[ { "change_type": "MODIFY", "old_path": "modules/router/src/config.ts", "new_path": "modules/router/src/config.ts", "diff": "@@ -41,16 +41,23 @@ const VectorRouterConfigSchema = Type.Object({\nbaseGasSubsidyPercentage: Type.Optional(Type.Number({ minimum: 0, maximum: 100 })),\n});\n-type VectorRouter...
TypeScript
MIT License
connext/vector
Make mock-able config
131,894
24.02.2021 11:11:22
0
e900d53ef5b5d3382c643103a1f5d95c23c7cf3a
Root dep updates
[ { "change_type": "MODIFY", "old_path": "ops/builder/Dockerfile", "new_path": "ops/builder/Dockerfile", "diff": "@@ -3,7 +3,7 @@ WORKDIR /root\nENV HOME /root\nRUN apk add --update --no-cache bash curl g++ gcc git jq make python\nRUN npm config set unsafe-perm true && npm install -g npm@6.14.7\n-RUN ...
TypeScript
MIT License
connext/vector
Root dep updates
131,894
24.02.2021 16:09:56
0
034d7e6d8dd45d648db922b7341bdf7ee9df92f4
emove bad testR
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/testing/vector.spec.ts", "new_path": "modules/protocol/src/testing/vector.spec.ts", "diff": "@@ -170,16 +170,6 @@ describe(\"Vector\", () => {\nparams: { ...validParams, networkContext: { ...network, chainId: 0 } },\nerror: \"should be >= ...
TypeScript
MIT License
connext/vector
emove bad testR
131,905
24.02.2021 10:12:02
25,200
015dfd41890b6082872adb69e9a482f9cca4001c
Add chainAddresses to config endpoint
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/index.ts", "new_path": "modules/server-node/src/index.ts", "diff": "@@ -79,6 +79,7 @@ server.get(\"/config\", { schema: { response: NodeResponses.GetConfigSchema } }, a\nindex: node.index,\npublicIdentifier: node.node.publicIdentifier,\...
TypeScript
MIT License
connext/vector
Add chainAddresses to config endpoint
131,905
24.02.2021 12:20:10
25,200
8f701c6a6d7ac0fbe55b0d362c761c5b398b88c2
Add quote methods to node + engine interface
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -17,6 +17,7 @@ import {\nFullChannelState,\nDEFAULT_CHANNEL_TIMEOUT,\nGetTransfersFilterOpts,\n+ ChannelRpcMethod,\n} from \"@connext/vector-types\";\nimport { con...
TypeScript
MIT License
connext/vector
Add quote methods to node + engine interface
131,905
24.02.2021 12:43:15
25,200
09d68b9c795dd30f18d4b39137b4b40f9051d85e
Add withdrawal methods to messaging service
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/messaging.ts", "new_path": "modules/router/src/services/messaging.ts", "diff": "@@ -65,6 +65,6 @@ export class NatsRouterMessagingService extends NatsBasicMessagingService implem\ninbox: string,\n) => void,\n): Promise<void> {\n- aw...
TypeScript
MIT License
connext/vector
Add withdrawal methods to messaging service
131,905
24.02.2021 14:25:16
25,200
54bd5086d06cb5c1f2c723f565197441f9ff9cbc
Add getDecimals to chainReader
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethReader.ts", "new_path": "modules/contracts/src.ts/services/ethReader.ts", "diff": "@@ -510,6 +510,19 @@ export class EthereumChainReader implements IVectorChainReader {\n}\n}\n+ async getDecimals(assetId: string, chainId: n...
TypeScript
MIT License
connext/vector
Add getDecimals to chainReader
131,905
24.02.2021 14:25:52
25,200
ae438058dfe6d64431883d5ea3defb06603280d2
Move normalizeFee calculations to utilities
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -7,16 +7,14 @@ import {\nREDUCED_GAS_PRICE,\n} from \"@connext/vector-types\";\nimport {\n- calculateExchangeWad,\ngetBalanceForAssetId,\ngetParticipant,\ngetR...
TypeScript
MIT License
connext/vector
Move normalizeFee calculations to utilities
131,905
24.02.2021 14:26:11
25,200
69c4d4881ff4797f0aefd9c0984802277f1594d7
Add withdrawal quote encoding
[ { "change_type": "MODIFY", "old_path": "modules/types/src/transferDefinitions/withdraw.ts", "new_path": "modules/types/src/transferDefinitions/withdraw.ts", "diff": "import { SignatureString, Address, Bytes32 } from \"../basic\";\n+import { NodeResponses } from \"../schemas\";\nimport { tidy } from ...
TypeScript
MIT License
connext/vector
Add withdrawal quote encoding
131,905
24.02.2021 14:26:38
25,200
41c43e62070651b0a89cd147e4f9b3589312b890
Add fee calculation logic to engine
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "-import { EngineError, Values } from \"@connext/vector-types\";\n+import { EngineError, EngineParams, Values } from \"@connext/vector-types\";\nexport class DisputeError extend...
TypeScript
MIT License
connext/vector
Add fee calculation logic to engine
131,905
24.02.2021 17:11:40
25,200
464f5a2b4bfb84401fe4ed4fc5955bbb09dc95a5
Add logic for enforcing withdrawal fees
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -82,6 +82,7 @@ export class VectorEngine implements IVectorEngine {\nchainAddresses: ChainAddresses,\nlogger: pino.BaseLogger,\nskipCheckIn: boolean,\n+ gasSubsidyPercentage: ...
TypeScript
MIT License
connext/vector
Add logic for enforcing withdrawal fees
131,905
24.02.2021 23:48:29
25,200
1f0eb01da1eb16193d079586c76292c0b89bc757
Remove fees from params
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/engine.ts", "new_path": "modules/types/src/schemas/engine.ts", "diff": "@@ -144,7 +144,6 @@ const WithdrawParamsSchema = Type.Object({\namount: TIntegerString,\nassetId: TAddress,\nrecipient: TAddress,\n- fee: Type.Optional(TIntegerSt...
TypeScript
MIT License
connext/vector
Remove fees from params
131,905
24.02.2021 23:48:37
25,200
2091a856a285a0d2369c58240714e4d70f1bf1a0
Add fee enforcement to param converter
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -99,8 +99,11 @@ export class ParameterConversionError extends EngineError {\nstatic readonly reasons = {\nCannotSendToSelf: \"An initiator cannot be a receiver on the same c...
TypeScript
MIT License
connext/vector
Add fee enforcement to param converter
131,894
25.02.2021 09:03:54
0
558a75e1169f1fe38bbcdc32e679d35db84ff2b8
Don't use stored mnemonic
[ { "change_type": "MODIFY", "old_path": "modules/server-node/prisma-postgres/schema.prisma", "new_path": "modules/server-node/prisma-postgres/schema.prisma", "diff": "@@ -197,7 +197,6 @@ model OnchainTransaction {\nmodel Configuration {\nid Int @id\n- mnemonic String @unique\n@@map(name: \"configurat...
TypeScript
MIT License
connext/vector
Don't use stored mnemonic
131,894
25.02.2021 09:04:06
0
a99592dfad11af02c3399c7f877ec4289dce8d8a
SQLite migration
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/prisma-sqlite/migrations/20210225085644_update_config/migration.sql", "diff": "+/*\n+ Warnings:\n+\n+ - You are about to drop the column `mnemonic` on the `configuration` table. All the data in the column will be lost.\n+\n+*...
TypeScript
MIT License
connext/vector
SQLite migration
131,894
25.02.2021 09:32:36
0
e42843ff5a4930efa39052df637f1b72d548237e
Add server migration
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/server-node/prisma-postgres/migrations/20210225093205_update_config/migration.sql", "diff": "+/*\n+ Warnings:\n+\n+ - You are about to drop the column `mnemonic` on the `configuration` table. All the data in the column will be lost.\n+\n...
TypeScript
MIT License
connext/vector
Add server migration
131,905
25.02.2021 14:24:15
25,200
f58bb6a48352e8d1466e3eabc26ab4c94f07915f
Make quotes optional in params to avoid roundtrip
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -281,8 +281,8 @@ export class BrowserNode implements INodeService {\n}\nasync getTransferQuote(\n- params: OptionalPublicIdentifier<NodeParams.GetTransferQuote>,\n...
TypeScript
MIT License
connext/vector
Make quotes optional in params to avoid roundtrip
131,905
25.02.2021 14:32:45
25,200
76ea5d2e8a4da5c68d83cf7bffe020be6d62d4e6
Align all config names
[ { "change_type": "MODIFY", "old_path": "modules/server-node/src/config.ts", "new_path": "modules/server-node/src/config.ts", "diff": "@@ -18,7 +18,7 @@ try {\n// Set defaults\nvectorConfig.messagingUrl = vectorConfig.messagingUrl || \"http://messaging\";\n-vectorConfig.gasSubsidyPercentage = vectorC...
TypeScript
MIT License
connext/vector
Align all config names
131,905
25.02.2021 22:38:14
25,200
f1124eb0a4cd1eee9a3d4218501c91ed222dfc50
Add sinon to deps
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/package.json", "new_path": "modules/browser-node/package.json", "diff": "\"fake-indexeddb\": \"3.1.2\",\n\"mocha\": \"8.2.0\",\n\"pino-pretty\": \"4.5.0\",\n+ \"sinon\": \"9.2.1\",\n\"ts-loader\": \"8.0.7\",\n\"ts-mocha\": \"8.0.0\",\n\"ts...
TypeScript
MIT License
connext/vector
Add sinon to deps
131,905
25.02.2021 22:39:04
25,200
78ae89377598c01fc3c87dfc46c5619e248259cf
Add quote enforcement to create transfer
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -102,7 +102,8 @@ export class ParameterConversionError extends EngineError {\nCouldNotGetQuote: \"Failed to get quote for withdrawal\",\nCouldNotSignWithdrawal: \"Failed to ...
TypeScript
MIT License
connext/vector
Add quote enforcement to create transfer
131,894
26.02.2021 13:14:08
0
9a0d5bdad434b308a1b00d842bbcaf7b0da76c6d
Fees to test UI
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -18,6 +18,7 @@ import { config } from \"./config\";\nfunction App() {\nconst [node, setNode] = useState<BrowserNode>();\n+ const [routerPublicIdentifier, setRouterPublicIdenti...
TypeScript
MIT License
connext/vector
Fees to test UI
131,894
26.02.2021 13:20:48
0
06f7fdc21eef82ff0d4799fa4014d0694042c000
Fix test UI for fees
[ { "change_type": "MODIFY", "old_path": "modules/test-ui/src/App.tsx", "new_path": "modules/test-ui/src/App.tsx", "diff": "@@ -704,7 +704,8 @@ function App() {\nrouterIdentifier: routerPublicIdentifier,\nrecipient: values.recipient,\nrecipientAssetId: values.recipientAssetId || undefined,\n- recipien...
TypeScript
MIT License
connext/vector
Fix test UI for fees
131,905
26.02.2021 18:17:16
25,200
94ab34093e95af23ad44d8c3acad365cecf7a97c
Add local testnets
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/fees.ts", "new_path": "modules/utils/src/fees.ts", "diff": "@@ -22,8 +22,8 @@ export class FeeCalculationError extends VectorError {\n}\n// Some testnets will have hardcoded fees for easier testing\n-// [rinkeby, goerli, kovan, mumbai]\n-expo...
TypeScript
MIT License
connext/vector
Add local testnets
131,905
27.02.2021 14:26:12
25,200
376fa8c794676118f466bfcbb6e498ad46b682a3
Add transfer fee param converter tests
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/testing/paramConverter.spec.ts", "new_path": "modules/engine/src/testing/paramConverter.spec.ts", "diff": "@@ -153,6 +153,133 @@ describe(\"ParamConverter\", () => {\nexpect(err?.context.registryError).to.be.deep.eq(jsonifyError(chainErr));\...
TypeScript
MIT License
connext/vector
Add transfer fee param converter tests
131,905
27.02.2021 17:14:34
25,200
81cf4f4ba2a77c8641acc621243275a7a5fc8826
Add getWithdrawalQuote tests
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -33,6 +33,8 @@ import {\nValues,\njsonifyError,\nGAS_ESTIMATES,\n+ WithdrawalQuote,\n+ IVectorStore,\n} from \"@connext/vector-types\";\nimport {\ngetRandomBytes32,\n@...
TypeScript
MIT License
connext/vector
Add getWithdrawalQuote tests
131,894
01.03.2021 14:53:17
0
37b64e2a55860dca39f6f98eacb5404222e1bcf4
Don't multiply by gas price twice
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -427,24 +427,8 @@ export async function setupEngineListeners(\nconst gasEstimate =\ncode.getValue() !== \"0x\" ? GAS_ESTIMATES.withdraw : GAS_ESTIMATES.withdraw.add(GA...
TypeScript
MIT License
connext/vector
Don't multiply by gas price twice
131,905
01.03.2021 09:03:27
25,200
81f422da4f62ecbb0f3c2da992ff69f22fa8e117
remove eth fee double
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -472,9 +472,6 @@ export async function getWithdrawalQuote(\n);\n}\n- // Get the fee in eth\n- const ethFee = gasEstimate.mul(gasPrice.getValue());\n-\n// Convert ethFe...
TypeScript
MIT License
connext/vector
remove eth fee double
131,905
01.03.2021 11:13:26
25,200
2086025a2dc2ce2bd88d98440d4cb32c2aeb6a7a
add withdraw quote endpoint
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/serverNode.ts", "new_path": "modules/utils/src/serverNode.ts", "diff": "@@ -412,7 +412,12 @@ export class RestServerNodeService implements INodeService {\ngetWithdrawalQuote(\nparams: OptionalPublicIdentifier<NodeParams.WithdrawalQuote>,\n): ...
TypeScript
MIT License
connext/vector
add withdraw quote endpoint
131,905
01.03.2021 12:33:11
25,200
6a0178cbe1cb66a37cb6017ac4cda2e5547e99c6
Fix withdrawal quote
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -512,7 +512,7 @@ export async function getWithdrawalQuote(\n// Sign the quote + return to user\nconst quote = {\nchannelAddress: request.channelAddress,\n- amount: req...
TypeScript
MIT License
connext/vector
Fix withdrawal quote
131,905
01.03.2021 13:12:24
25,200
8e412af83897fc043e12a8c990c1df892e07a678
Fix fees and swaps
[ { "change_type": "MODIFY", "old_path": "modules/router/src/forwarding.ts", "new_path": "modules/router/src/forwarding.ts", "diff": "@@ -340,7 +340,7 @@ export async function forwardTransferCreation(\n\"Detected inflight swap\",\n);\nconst swapRes = await getSwappedAmount(\n- senderAmount,\n+ recipie...
TypeScript
MIT License
connext/vector
Fix fees and swaps
131,905
01.03.2021 13:16:11
25,200
0d26367abbdaca207f5de8f0de4c434ac0b5afed
Fix integration tests with default fees
[ { "change_type": "MODIFY", "old_path": "modules/test-runner/src/trio/happy.test.ts", "new_path": "modules/test-runner/src/trio/happy.test.ts", "diff": "@@ -34,7 +34,7 @@ describe(testName, () => {\ncarolEvts,\nrandomIndex,\n);\n- const min = utils.parseEther(\"0.01\");\n+ const min = utils.parseEthe...
TypeScript
MIT License
connext/vector
Fix integration tests with default fees
131,905
01.03.2021 13:16:29
25,200
5042c0a4870066820eeb0e9a04dc7a075d4d40fd
use default values even in swap
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/config.ts", "new_path": "modules/router/src/services/config.ts", "diff": "@@ -69,13 +69,13 @@ export const getSwapFees = (\nlet gasSubsidyPercentage = getConfig().baseGasSubsidyPercentage ?? 100;\nif (fromChainId !== toChainId || fr...
TypeScript
MIT License
connext/vector
use default values even in swap
131,905
01.03.2021 16:47:18
25,200
77485cfdf418c3dfe58919aa05792b8f33fade50
Create fees stub method
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/forwarding.spec.ts", "new_path": "modules/router/src/test/forwarding.spec.ts", "diff": "@@ -32,7 +32,8 @@ import { getAddress } from \"@ethersproject/address\";\nimport { PrismaStore } from \"../services/store\";\nimport { forwardTransf...
TypeScript
MIT License
connext/vector
Create fees stub method
131,905
01.03.2021 17:40:31
25,200
c7ebc567b26614680165a92aab7c28df232054fd
Update to allow non-swapped assets without additional config
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -370,13 +370,16 @@ export const calculateEstimatedGasFee = async (\n}\nconst routerBalance = getBalanceForAssetId(toChannel, toAssetId, participantToChannel);\...
TypeScript
MIT License
connext/vector
Update to allow non-swapped assets without additional config
131,905
02.03.2021 10:04:08
25,200
8ab9c51769ec264b1de42cb7c321bfbd8f00bf72
Lower case checking
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/fees.ts", "new_path": "modules/utils/src/fees.ts", "diff": "@@ -111,7 +111,7 @@ export const getExchangeRateInEth = async (\ntry {\nconst response = await axios.get<{ [token: string]: { eth: number } }>(uri);\nlogger.info({ uri, response: res...
TypeScript
MIT License
connext/vector
Lower case checking
131,905
02.03.2021 10:13:49
25,200
69f97d6093aed1072165ab633c02df8de72884af
Exit early if no calculation needed
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -439,6 +439,32 @@ export async function getWithdrawalQuote(\nchainService: IVectorChainService,\nlogger: BaseLogger,\n): Promise<Result<WithdrawalQuote, WithdrawQuoteE...
TypeScript
MIT License
connext/vector
Exit early if no calculation needed
131,905
02.03.2021 10:32:31
25,200
5458c544066eeb8362cbdc4c029681c9e2231aa4
Add fees metrics
[ { "change_type": "MODIFY", "old_path": "modules/router/src/listener.ts", "new_path": "modules/router/src/listener.ts", "diff": "@@ -44,6 +44,7 @@ import {\nforwardedTransferSize,\nforwardedTransferVolume,\nattemptedTransfer,\n+ feesCollected,\n} from \"./metrics\";\nimport { calculateFeeAmount } fro...
TypeScript
MIT License
connext/vector
Add fees metrics
131,905
02.03.2021 12:12:19
25,200
fd8632d1b9ed0ad1b85d27a380a6af4c591b6f54
Add logs, up timeout
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -64,12 +64,7 @@ export const calculateFeeAmount = async (\n);\n}\nconst { flatFee, percentageFee, gasSubsidyPercentage } = fees.getValue();\n- if (flatFee === ...
TypeScript
MIT License
connext/vector
Add logs, up timeout
131,905
02.03.2021 13:37:40
25,200
9b4548879c9893e1e300d07f7bfcc3099e7e0d09
Dont use *.default.config and *.config
[ { "change_type": "MODIFY", "old_path": "ops/start-duet.sh", "new_path": "ops/start-duet.sh", "diff": "@@ -24,8 +24,7 @@ then cp \"$root/ops/config/router.default.json\" \"$root/router.config.json\"\nfi\nconfig=$(\n- cat \"$root/ops/config/node.default.json\" \"$root/ops/config/router.default.json\" ...
TypeScript
MIT License
connext/vector
Dont use *.default.config and *.config
131,894
03.03.2021 17:09:29
0
5c666494633f604b4a7af321744c177f9cb672a7
Typechain causing issues right now
[ { "change_type": "MODIFY", "old_path": "modules/contracts/hardhat.config.ts", "new_path": "modules/contracts/hardhat.config.ts", "diff": "import \"@nomiclabs/hardhat-waffle\";\nimport \"hardhat-deploy\";\nimport \"hardhat-deploy-ethers\";\n-import \"hardhat-typechain\";\nimport \"@nomiclabs/hardhat-...
TypeScript
MIT License
connext/vector
Typechain causing issues right now
131,894
03.03.2021 17:35:34
0
89f739063c1f82754db9c5b46ac0cb3f38219067
Roll back typebox
[ { "change_type": "MODIFY", "old_path": "modules/auth/package.json", "new_path": "modules/auth/package.json", "diff": "\"dependencies\": {\n\"@connext/vector-types\": \"0.2.0-beta.4\",\n\"@connext/vector-utils\": \"0.2.0-beta.4\",\n- \"@sinclair/typebox\": \"0.12.9\",\n+ \"@sinclair/typebox\": \"0.12...
TypeScript
MIT License
connext/vector
Roll back typebox
131,894
03.03.2021 17:54:09
0
24b7bbf59d8a8500609bc6b3eadeadc41104cd60
Remove ajv strict mode
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -52,7 +52,7 @@ import { setupEngineListeners } from \"./listeners\";\nimport { getEngineEvtContainer } from \"./utils\";\nimport { sendIsAlive } from \"./isAlive\";\n-export c...
TypeScript
MIT License
connext/vector
Remove ajv strict mode
131,894
03.03.2021 17:58:10
0
3dad80eb90df5a73bb0f5278ff0ebda76f3d4fbe
Don't copy typechain
[ { "change_type": "MODIFY", "old_path": "modules/contracts/ops/Dockerfile", "new_path": "modules/contracts/ops/Dockerfile", "diff": "@@ -15,7 +15,6 @@ COPY src.sol src.sol\nCOPY src.ts src.ts\nCOPY artifacts artifacts\nCOPY dist dist\n-COPY typechain typechain\nRUN find dist -type f -name \"*.ts\" -e...
TypeScript
MIT License
connext/vector
Don't copy typechain
131,894
03.03.2021 18:16:24
0
69e408b720c8eda140dcbfafe32dce025823c27a
Roll back ajv
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/package.json", "new_path": "modules/browser-node/package.json", "diff": "\"@ethersproject/solidity\": \"5.0.9\",\n\"@ethersproject/wallet\": \"5.0.11\",\n\"@sinclair/typebox\": \"0.12.7\",\n- \"ajv\": \"7.1.1\",\n+ \"ajv\": \"6.12.6\",\n\"...
TypeScript
MIT License
connext/vector
Roll back ajv
131,905
03.03.2021 12:34:19
25,200
07fee9dd42195b1de0b328b9f5155ba9cfd0ce66
Update forwarded volume display
[ { "change_type": "MODIFY", "old_path": "ops/grafana/dashboards/router-dashboard.json", "new_path": "ops/grafana/dashboards/router-dashboard.json", "diff": "\"editable\": true,\n\"gnetId\": null,\n\"graphTooltip\": 0,\n- \"id\": null,\n+ \"id\": 1,\n\"links\": [],\n\"panels\": [\n{\n\"showHeader\": t...
TypeScript
MIT License
connext/vector
Update forwarded volume display
131,894
04.03.2021 09:06:48
0
880412c5e6893b31ea080216a0653f41b1ce1c87
Longer fee expiry
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -446,7 +446,7 @@ export async function getWithdrawalQuote(\namount: _fee.gt(request.amount) ? \"0\" : BigNumber.from(request.amount).sub(_fee).toString(), // hash of n...
TypeScript
MIT License
connext/vector
Longer fee expiry
131,894
05.03.2021 12:53:12
0
1952743466602013de58ccad9cd48eb741a75214
Auto rebalance types
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/types/src/schemas/autoRebalance.ts", "diff": "+import { Type, Static } from \"@sinclair/typebox\";\n+import { TAddress, TChainId, TIntegerString, TBytes32 } from \"./basic\";\n+\n+export const ApproveParamsSchema = Type.Object({\n+ amoun...
TypeScript
MIT License
connext/vector
Auto rebalance types
131,905
05.03.2021 11:21:54
25,200
777c4f62c8abb6d4f69c3d6146c679c4b2c03eda
no need to force unwrap
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/lock.ts", "new_path": "modules/utils/src/lock.ts", "diff": "@@ -40,8 +40,8 @@ export class MemoryLockService implements ILockService {\nthrow new Error(\"Incorrect lock value\");\n}\n- clearTimeout(lock!.timer);\n- return lock!.releaser();\n+...
TypeScript
MIT License
connext/vector
no need to force unwrap
131,905
05.03.2021 11:22:05
25,200
0f59e38a90e7d6ecffd83264047af7751201de06
Fix router build
[ { "change_type": "MODIFY", "old_path": "modules/router/src/errors.ts", "new_path": "modules/router/src/errors.ts", "diff": "@@ -194,7 +194,9 @@ export class AutoRebalanceServiceError extends RouterError {\nstatic readonly reasons = {\nCouldNotGetAssetBalance: \"Could not get asset balance\",\nCouldN...
TypeScript
MIT License
connext/vector
Fix router build
131,905
05.03.2021 11:54:27
25,200
71f9a1c310f538d38b3663b2b91d317674ec747b
Add db models and migrations
[ { "change_type": "ADD", "old_path": null, "new_path": "modules/router/prisma-postgres/migrations/20210305185415_add_autorebalance/migration.sql", "diff": "+-- CreateTable\n+CREATE TABLE \"AutoRebalance\" (\n+ \"id\" TEXT NOT NULL,\n+ \"status\" TEXT NOT NULL,\n+ \"approveHash\" TEXT,\n+ \"executeHas...
TypeScript
MIT License
connext/vector
Add db models and migrations
131,905
05.03.2021 13:04:05
25,200
a796e36ee51bfd80553ac5911ee97e339570f376
Update default fee expiry
[ { "change_type": "MODIFY", "old_path": "modules/documentation/docs/changelog.md", "new_path": "modules/documentation/docs/changelog.md", "diff": "## 0.2.0-beta.6\n- \\[engine\\] Only error if fees > amount, not fees >= amount\n+- \\[types, router, engine\\] Use `DEFAULT_FEE_EXPIRY` from types packag...
TypeScript
MIT License
connext/vector
Update default fee expiry
131,905
05.03.2021 20:14:40
25,200
800f8d10e4886d71cd54a08231585b5f0092da6c
store initial balance in transfer state
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -862,7 +862,10 @@ async function handleWithdrawalTransferResolution(\nreturn;\n}\n- const withdrawalAmount = event.updatedTransfer.balance.amount\n+ // withdrawals bur...
TypeScript
MIT License
connext/vector
store initial balance in transfer state
131,905
05.03.2021 20:25:26
25,200
dc6b7ea6fc532a6b7bd1990fe58dc8f379a383db
Fix axios logging
[ { "change_type": "MODIFY", "old_path": "modules/utils/src/error.ts", "new_path": "modules/utils/src/error.ts", "diff": "@@ -7,19 +7,21 @@ export const logAxiosError = (\nadditionalContext = {},\nmessage = \"Error sending request\",\n): void => {\n- let errorObj = {};\n+ let errorObj: any = { message...
TypeScript
MIT License
connext/vector
Fix axios logging
131,905
05.03.2021 21:55:54
25,200
56d1c6ef3cf8d6844ca4c3037befcd9eae9fdb96
Bob submits withdrawal
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "+import { WithdrawCommitment } from \"@connext/vector-contracts\";\nimport { Vector } from \"@connext/vector-protocol\";\nimport { EXTRA_GAS_PRICE } from \"@connext/vector-contra...
TypeScript
MIT License
connext/vector
Bob submits withdrawal
131,905
07.03.2021 17:31:39
25,200
116757e05c74e98f91bf4fc17f3dbaedc216ec04
Rename + add integration test
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/errors.ts", "new_path": "modules/engine/src/errors.ts", "diff": "@@ -98,6 +98,7 @@ export class ParameterConversionError extends EngineError {\nstatic readonly type = \"ParameterConversionError\";\nstatic readonly reasons = {\n+ BobDoesntSub...
TypeScript
MIT License
connext/vector
Rename + add integration test
131,896
08.03.2021 20:02:26
28,800
5417827921dcfd1d5211a7e59912c67ae14e097c
implement : getLatestRebalance, saveLatestRebalance, updateLatestRebalance
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/store.ts", "new_path": "modules/router/src/services/store.ts", "diff": "@@ -51,6 +51,7 @@ export type RouterRebalanceRecord = {\n// updatedAt\n};\nexport interface IRouterStore {\n+ // QueuedUpdates store methods.\ngetQueuedUpdates(...
TypeScript
MIT License
connext/vector
implement : getLatestRebalance, saveLatestRebalance, updateLatestRebalance
131,905
08.03.2021 21:21:17
25,200
19942bbda1e52b02d211335677311bfc11406a15
Add calculation of received amount
[ { "change_type": "MODIFY", "old_path": "modules/router/src/listener.ts", "new_path": "modules/router/src/listener.ts", "diff": "@@ -542,11 +542,13 @@ export async function setupListeners(\nrecipient: _recipient,\nrecipientChainId: _recipientChainId,\nrecipientAssetId: _recipientAssetId,\n+ receiveEx...
TypeScript
MIT License
connext/vector
Add calculation of received amount
131,905
08.03.2021 21:21:57
25,200
b3f5a79d0474c87bf12f1ac2016686e7d3b46799
Add optional engine param
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/engine.ts", "new_path": "modules/types/src/schemas/engine.ts", "diff": "@@ -27,6 +27,7 @@ const GetWithdrawalQuoteParamsSchema = Type.Object({\namount: TIntegerString,\nassetId: TAddress,\nchannelAddress: TAddress,\n+ receiveExactAmou...
TypeScript
MIT License
connext/vector
Add optional engine param
131,905
08.03.2021 21:22:06
25,200
5f4f2dad2c572566925cad38af0e48bc8b3b5c44
Receive amount implemented in engine
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -438,11 +438,13 @@ export async function getWithdrawalQuote(\nchainService: IVectorChainService,\nlogger: BaseLogger,\n): Promise<Result<WithdrawalQuote, WithdrawQuote...
TypeScript
MIT License
connext/vector
Receive amount implemented in engine
131,894
09.03.2021 15:53:44
0
6e46524a9db9cdf3bbee98d1d00619640e843209
Estimate gas properly
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -405,9 +405,13 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n}\nthis.log.info({ sender, method, ...
TypeScript
MIT License
connext/vector
Estimate gas properly
131,894
09.03.2021 17:40:23
0
98531e869fdfadddba4ee167a303f9170840663f
Add quote to example
[ { "change_type": "MODIFY", "old_path": "modules/server-node/examples/3-transfer.http", "new_path": "modules/server-node/examples/3-transfer.http", "diff": "@@ -79,6 +79,22 @@ Content-Type: application/json\n}\n}\n+##############\n+### Get Transfer Fee Quote\n+POST {{nodeUrl}}/transfers/quote\n+Conte...
TypeScript
MIT License
connext/vector
Add quote to example
131,905
09.03.2021 11:37:15
25,200
4a7cb6eac7a0014d1efc889b720b746575cc05e3
Pull transaction from events
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/index.ts", "new_path": "modules/engine/src/index.ts", "diff": "@@ -918,11 +918,18 @@ export class VectorEngine implements IVectorEngine {\nlet transaction: MinimalTransaction | undefined = undefined;\nconst timeout = 90_000;\ntry {\n- const ...
TypeScript
MIT License
connext/vector
Pull transaction from events
131,905
09.03.2021 11:37:29
25,200
8c867f1aecbd1289e9ca20bb13d0c5d23ae1825e
Add transaction to resolved event
[ { "change_type": "MODIFY", "old_path": "modules/engine/src/listeners.ts", "new_path": "modules/engine/src/listeners.ts", "diff": "@@ -881,6 +881,24 @@ async function handleWithdrawalTransferResolution(\n\"Withdrawal info\",\n);\n+ // Generate commitment, and save the double signed version\n+ const c...
TypeScript
MIT License
connext/vector
Add transaction to resolved event
131,905
09.03.2021 11:38:30
25,200
06bee97e79d44f2d368241e834d04d19099112da
Add transaction to event
[ { "change_type": "MODIFY", "old_path": "modules/types/src/engine.ts", "new_path": "modules/types/src/engine.ts", "diff": "@@ -3,7 +3,8 @@ import { Balance, FullTransferState } from \"./channel\";\nimport { EngineParams } from \"./schemas\";\nimport { TransferName } from \"./transferDefinitions\";\ni...
TypeScript
MIT License
connext/vector
Add transaction to event
131,905
09.03.2021 11:38:36
25,200
0a6ebc58c6e14389da34b762bbde5571f3505080
always returned
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/node.ts", "new_path": "modules/types/src/schemas/node.ts", "diff": "@@ -311,13 +311,11 @@ const PostWithdrawTransferResponseSchema = {\nchannelAddress: TAddress,\ntransferId: TBytes32,\ntransactionHash: Type.Optional(TBytes32),\n- tra...
TypeScript
MIT License
connext/vector
always returned
131,905
09.03.2021 12:12:50
25,200
a34f98fb3404a0a1da5da7c5bca33becca161e61
Add to rpc + engine
[ { "change_type": "MODIFY", "old_path": "modules/types/src/schemas/engine.ts", "new_path": "modules/types/src/schemas/engine.ts", "diff": "@@ -98,6 +98,16 @@ const GetRegisteredTransfersParamsSchema = Type.Object({\nchainId: TChainId,\n});\n+// Returns withdrawal commitment by transfer id\n+const Get...
TypeScript
MIT License
connext/vector
Add to rpc + engine
131,905
09.03.2021 12:15:15
25,200
f56fa736a5ba176d15be9a872ab07f390f3e4d5f
Add fees error logging
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/fees.ts", "new_path": "modules/router/src/services/fees.ts", "diff": "@@ -154,6 +154,16 @@ export const calculateFeeAmount = async (\ntoAssetDecimals = await getDecimals(toChannel.networkContext.chainId.toString(), toAssetId);\nbase...
TypeScript
MIT License
connext/vector
Add fees error logging
131,905
09.03.2021 15:22:56
25,200
4e382c0884528c2669ed61199a5c291db92b29fd
Add to nodes + engine
[ { "change_type": "MODIFY", "old_path": "modules/browser-node/src/index.ts", "new_path": "modules/browser-node/src/index.ts", "diff": "@@ -384,6 +384,36 @@ export class BrowserNode implements INodeService {\n}\n}\n+ async getWithdrawalCommitment(\n+ params: OptionalPublicIdentifier<NodeParams.GetWith...
TypeScript
MIT License
connext/vector
Add to nodes + engine
131,896
09.03.2021 22:56:40
28,800
b26355c61cd5859a52296b600260e92eb9ee053e
autorebalance unit tests passing
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/autoRebalance.ts", "new_path": "modules/router/src/services/autoRebalance.ts", "diff": "@@ -286,7 +286,7 @@ export const approveRebalance = async (\nmethod,\nmethodId,\napproveRes: approveRes.data,\n- status: approveRes.status,\n+ s...
TypeScript
MIT License
connext/vector
autorebalance unit tests passing
131,896
10.03.2021 12:24:57
28,800
fbd77a443aaed50c8c571b660b52d45a6bc1604c
remove 'only's
[ { "change_type": "MODIFY", "old_path": "modules/router/src/test/autoRebalance.spec.ts", "new_path": "modules/router/src/test/autoRebalance.spec.ts", "diff": "@@ -17,16 +17,9 @@ const config = getConfig();\nconst testName = \"Auto Rebalance\";\nconst { log } = getTestLoggers(testName, config.logLevel...
TypeScript
MIT License
connext/vector
remove 'only's
131,896
12.03.2021 12:41:12
28,800
652a4683a93bac7526f2a24f89f9e4dcd712bb94
remove : updateRebalance; saveLatestRebalance -> saveRebalance, use upsert; address comments
[ { "change_type": "MODIFY", "old_path": "modules/router/prisma-sqlite/schema.prisma", "new_path": "modules/router/prisma-sqlite/schema.prisma", "diff": "@@ -41,9 +41,4 @@ model AutoRebalance {\ncreatedAt DateTime @default(now())\nupdatedAt DateTime @default(now())\n-\n- @@unique([fromChainId, toChain...
TypeScript
MIT License
connext/vector
remove : updateRebalance; saveLatestRebalance -> saveRebalance, use upsert; address comments
131,905
14.03.2021 19:50:35
21,600
69b189f13633f83d12a9e0881e90974df868b7a8
return by updates
[ { "change_type": "MODIFY", "old_path": "modules/router/src/services/store.ts", "new_path": "modules/router/src/services/store.ts", "diff": "@@ -2,7 +2,6 @@ import { NodeParams, AllowedSwap } from \"@connext/vector-types\";\nimport { PrismaClient } from \"../generated/db-client\";\nimport { getConfig...
TypeScript
MIT License
connext/vector
return by updates
131,894
15.03.2021 14:59:39
0
f1be5f627c10daef78165366b8afc9d70862fa74
Add from to sendTransaction method
[ { "change_type": "MODIFY", "old_path": "modules/contracts/src.ts/services/ethService.ts", "new_path": "modules/contracts/src.ts/services/ethService.ts", "diff": "@@ -405,14 +405,15 @@ export class EthereumChainService extends EthereumChainReader implements IVector\n}\nthis.log.info({ sender, method,...
TypeScript
MIT License
connext/vector
Add from to sendTransaction method
131,896
15.03.2021 14:15:53
25,200
153ecdb4533a39ec1525eb50df81b61ed3187e6c
modify : SetupParams and CreateParams for transfer to take optional timeout
[ { "change_type": "MODIFY", "old_path": "modules/protocol/src/update.ts", "new_path": "modules/protocol/src/update.ts", "diff": "@@ -19,6 +19,7 @@ import {\nCreateUpdateDetails,\nResolveUpdateDetails,\njsonifyError,\n+ DEFAULT_TRANSFER_TIMEOUT,\n} from \"@connext/vector-types\";\nimport { getAddress ...
TypeScript
MIT License
connext/vector
modify : SetupParams and CreateParams for transfer to take optional timeout