{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":710362955,"defaultBranch":"main","name":"domain-transaction-producer","ownerLogin":"subspace","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-10-26T14:44:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/38735363?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1699874798.0","currentOid":""},"activityList":{"items":[{"before":"ce0702f91a39b59c3e18c212ebc7be4640da7bb1","after":"ea0a14e2c3af79890d015d1ebab5a1b85891e303","ref":"refs/heads/main","pushedAt":"2023-11-13T12:31:21.000Z","pushType":"push","commitsCount":17,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Merge branch 'enhancements/send-txs-light' of https://github.com/subspace/domain-transaction-producer","shortMessageHtmlLink":"Merge branch 'enhancements/send-txs-light' of https://github.com/subs…"}},{"before":"748c60d2d780014f4d4cba10d88e2f458ad28e3d","after":null,"ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-13T11:26:38.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"}},{"before":"b56c0b030e268e0a6c37739b75db76dc9c788fc5","after":"d7d579b0a5b62d83b25f1f947eaf31808a870d7b","ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-13T11:26:37.000Z","pushType":"pr_merge","commitsCount":15,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Merge pull request #5 from subspace/feat/send-txs-heavy\n\nAdded heavy transactions and optimized some code","shortMessageHtmlLink":"Merge pull request #5 from subspace/feat/send-txs-heavy"}},{"before":"f0eb6cd01dd1078bde88441cdbc6199e7fccb11d","after":"748c60d2d780014f4d4cba10d88e2f458ad28e3d","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-09T21:08:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added related code for easy debugging for heavy tx type\n\nSome code refactored to shorten the code size a little bit. Logs for heavy txs added for gemini-3g testnet","shortMessageHtmlLink":"Added related code for easy debugging for heavy tx type"}},{"before":"f2584681563d0857a63f8af22bf510bfdd56df2c","after":"f0eb6cd01dd1078bde88441cdbc6199e7fccb11d","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-08T17:40:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Code optimization\n\n- Removed 'priv_keys' Vec collection during wallet, addresses generation. Later on, the private keys might be copied into some file.\n- Removed 'itertools' external crate associated code.\n- Removed 'get_gas_cost' (in TSSC) function async call in every light/heavy transactions sending processes. Not required as the purpose is to focus on load testing of EVM network. So, instead shown gas unit that each call incurs.\n- Replaced 'info' w 'debug' logging when showing the tx details during sending light/heavy txs.","shortMessageHtmlLink":"Code optimization"}},{"before":null,"after":"b56c0b030e268e0a6c37739b75db76dc9c788fc5","ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-08T13:11:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Tested with different values for getting the max. gas cost for transaction types\n\nThis is important to see how many transactions could be added in a single block for a contract's method. E.g. in Load contract, only 1 tx(heavy) can be added with 'setArray' method with count value: 2650 as it is hitting the block gas limit. So, while running the CLI for heavy txs, one needs to know that only this value of count when sending so many tx in one go. So, then not more than 1 tx would be added even when running in batches (100 each, say).","shortMessageHtmlLink":"Tested with different values for getting the max. gas cost for transa…"}},{"before":"09a2b68cbcfff6c2af01b148d41140a2c2c01b5c","after":null,"ref":"refs/heads/feat/transfer-tssc-bulk","pushedAt":"2023-11-08T10:12:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"}},{"before":"11b560a696f6235e609a745b1541a309c2b944f4","after":null,"ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-08T10:12:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"}},{"before":"d770defbf938acdc9d18b78eb0db97f218797efb","after":null,"ref":"refs/heads/tx-type/light","pushedAt":"2023-11-08T10:11:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"}},{"before":"df269637d8a14a2cfcd48515b8f8277847ea8963","after":"f2584681563d0857a63f8af22bf510bfdd56df2c","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-08T08:57:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Minimize iteration for wallet, addresses, private keys\n\nUsing std. rust, there are 2 possible approaches due to limitation of `unzip()` i.e. it supports a tuple of pairs, but not more than 2 elements in a tuple:\n- A-1: Use (Vec<_>, Hashmap) as tuple of pairs for generating wallets. And then extract addresses from the hashmap keys to feed into `transfer_tssc_bulk` function.\n- A-1: Use (Vec<_>, Vec<(address, priv_key)>) as tuple of pairs for generating wallets. And then extract addresses from the Vec keys to feed into `transfer_tssc_bulk` function.\n\n-----\nNow, using non-std. rust i.e. external crate `itertools`, `multiunzip()` method could be used to extract all 3 as separate vectors in 1 loop. This is the one implemented in this commit.\n\n---\nIn summary, all these aforementioned approaches do use at least 2 loops.\n\nTherefore, I think mutating all Vec and populating them via a single iteration as was done originally is better as there is just 1 looping done.","shortMessageHtmlLink":"Minimize iteration for wallet, addresses, private keys"}},{"before":"f0dc790970d039fca4c54e02af52285c1574ab3a","after":"df269637d8a14a2cfcd48515b8f8277847ea8963","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-07T16:48:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Removed 'contracts' submodule","shortMessageHtmlLink":"Removed 'contracts' submodule"}},{"before":"45f07ad16d8f96946129a30f1a0da2e076e6c0e6","after":"f0dc790970d039fca4c54e02af52285c1574ab3a","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-07T16:15:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Modified function for generating wallets without using mut type collections","shortMessageHtmlLink":"Modified function for generating wallets without using mut type colle…"}},{"before":"cf92adb59bff6237a59b1e499c876bedccfa1a81","after":"45f07ad16d8f96946129a30f1a0da2e076e6c0e6","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-07T14:01:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added chain id as single async call instead as env var\n\nThis change is done to ensure there is no mismatch when setting wrong chain id in the '.env' file during making calls to RPC.","shortMessageHtmlLink":"Added chain id as single async call instead as env var"}},{"before":"1994228ba61918eca2525f1659a1aa04a8be4a9a","after":"ce0702f91a39b59c3e18c212ebc7be4640da7bb1","ref":"refs/heads/main","pushedAt":"2023-11-06T19:35:05.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Merge branch 'feat/transfer-tssc-bulk' of https://github.com/abhi3700/domain-transaction-producer","shortMessageHtmlLink":"Merge branch 'feat/transfer-tssc-bulk' of https://github.com/abhi3700…"}},{"before":"8b85c729d8ca0ffe1e8b5266f199605060bc706b","after":"cf92adb59bff6237a59b1e499c876bedccfa1a81","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T18:55:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"updated submodule w a generic test function to test for any value of count","shortMessageHtmlLink":"updated submodule w a generic test function to test for any value of …"}},{"before":"267630e675630694d2515d9436d263b4efafb0c6","after":"09a2b68cbcfff6c2af01b148d41140a2c2c01b5c","ref":"refs/heads/feat/transfer-tssc-bulk","pushedAt":"2023-11-06T18:49:42.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Merge pull request #3 from abhi3700/enhancements/send-txs-light\n\nImplementing Batching of Async Calls for Enhanced Light Transaction Handling Across Numerous Accounts","shortMessageHtmlLink":"Merge pull request #3 from abhi3700/enhancements/send-txs-light"}},{"before":"76bbdc026f987b27b57cc838f3b34d81a8b144af","after":"8b85c729d8ca0ffe1e8b5266f199605060bc706b","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T18:18:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Fixed adding an arg for function to send heavy tx, logs/","shortMessageHtmlLink":"Fixed adding an arg for function to send heavy tx, logs/"}},{"before":"3666d293549f95e3bd4a50628028f364acc5b97c","after":"76bbdc026f987b27b57cc838f3b34d81a8b144af","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T16:59:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added code for sending heavy txs in main.rs, logs/","shortMessageHtmlLink":"Added code for sending heavy txs in main.rs, logs/"}},{"before":"34d5c4893b8d1ac0ebfdfed8740116d8befaa4cb","after":"3666d293549f95e3bd4a50628028f364acc5b97c","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T15:43:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added constants as configurable via environment variables\n\n- MAX_BATCH_SIZE\n- MAX_LOAD_COUNT_PER_BLOCK","shortMessageHtmlLink":"Added constants as configurable via environment variables"}},{"before":"60d3d760f54bef267ca15307af4e921b1ce548e8","after":"34d5c4893b8d1ac0ebfdfed8740116d8befaa4cb","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T15:16:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Contracts functions have been separated into a separate module for better code readability","shortMessageHtmlLink":"Contracts functions have been separated into a separate module for be…"}},{"before":"fd475a98ef21c20857bbff22ac2d3e88dbfeebcf","after":"60d3d760f54bef267ca15307af4e921b1ce548e8","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T12:55:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Code optimization\n\n- cleaned up the codebase removing all unused imports, variables, functions, etc.\n- Memory preallocation: Replacing 'Vec::new()' with 'Vec::with_capacity()' in all the places to pre-allocate the exact amount of space needed to prevent reallocation as the vector grows.\n- Cloned client arc rather than owning. 'client.to_owned()' modified to 'client.clone()' as it was giving 'value moved here' error.\n- Removed cloning client Arc when calling 'get_gas_cost' function, just reference it.","shortMessageHtmlLink":"Code optimization"}},{"before":"dd871a152c251a0b87bdce4a229d8930b8dae464","after":"fd475a98ef21c20857bbff22ac2d3e88dbfeebcf","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-06T12:49:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Optimized code by calling chain id directly from .env\n\n- Add logging and debugging libraries\n- Add chain id to '.env.example' to avoid async call to get the value of chain id in iterations.\n- Archived all old unused code","shortMessageHtmlLink":"Optimized code by calling chain id directly from .env"}},{"before":"08677fca92a171b9fec07cd8d1fa5b95888c2a09","after":"dd871a152c251a0b87bdce4a229d8930b8dae464","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-05T14:02:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Optimized code by calling chain id directly from .env\n\n- Add logging and debugging libraries\n- Add chain id to .env.example\n- Archived all old unused code","shortMessageHtmlLink":"Optimized code by calling chain id directly from .env"}},{"before":"b56c0b030e268e0a6c37739b75db76dc9c788fc5","after":"08677fca92a171b9fec07cd8d1fa5b95888c2a09","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-04T05:51:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added batch handling for async calls in Load\ncontract's setArray method","shortMessageHtmlLink":"Added batch handling for async calls in Load"}},{"before":null,"after":"b56c0b030e268e0a6c37739b75db76dc9c788fc5","ref":"refs/heads/feat/send-txs-heavy","pushedAt":"2023-11-03T11:15:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Tested with different values for getting the max. gas cost for transaction types\n\nThis is important to see how many transactions could be added in a single block for a contract's method. E.g. in Load contract, only 1 tx(heavy) can be added with 'setArray' method with count value: 2650 as it is hitting the block gas limit. So, while running the CLI for heavy txs, one needs to know that only this value of count when sending so many tx in one go. So, then not more than 1 tx would be added even when running in batches (100 each, say).","shortMessageHtmlLink":"Tested with different values for getting the max. gas cost for transa…"}},{"before":"3948c7e7599cc2b7b3d468b50af75ee3b7441c53","after":"11b560a696f6235e609a745b1541a309c2b944f4","ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-02T19:05:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"added deployed contracts addresses on gemini-3g","shortMessageHtmlLink":"added deployed contracts addresses on gemini-3g"}},{"before":"3d6425516b8389da283d69b300425a16ce4ec73e","after":"3948c7e7599cc2b7b3d468b50af75ee3b7441c53","ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-02T15:48:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"added logs for different num of accounts for sending light tx","shortMessageHtmlLink":"added logs for different num of accounts for sending light tx"}},{"before":"17764865f833c84d393d4281c382d0d03e968419","after":"1994228ba61918eca2525f1659a1aa04a8be4a9a","ref":"refs/heads/main","pushedAt":"2023-11-02T14:56:28.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Merge pull request #2 from abhi3700/feat/transfer-tssc-bulk\n\nImplement Bulk TSSC Transfer in DTP CLI via Fund contract","shortMessageHtmlLink":"Merge pull request #2 from abhi3700/feat/transfer-tssc-bulk"}},{"before":null,"after":"3d6425516b8389da283d69b300425a16ce4ec73e","ref":"refs/heads/enhancements/send-txs-light","pushedAt":"2023-11-02T11:20:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"Added batching in async calls to send to too many accounts\n\ntested successfully for 1000 accounts","shortMessageHtmlLink":"Added batching in async calls to send to too many accounts"}},{"before":"5e4843e117e797fac9a346966289fdcdab91f9af","after":"267630e675630694d2515d9436d263b4efafb0c6","ref":"refs/heads/feat/transfer-tssc-bulk","pushedAt":"2023-11-02T08:08:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"abhi3700","name":"Abhijit Roy","path":"/abhi3700","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/16472948?s=80&v=4"},"commit":{"message":"allowing some function to be used later","shortMessageHtmlLink":"allowing some function to be used later"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADrc6McAA","startCursor":null,"endCursor":null}},"title":"Activity · subspace/domain-transaction-producer"}