{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":232014927,"defaultBranch":"mainnet","name":"crust","ownerLogin":"crustio","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-01-06T03:13:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/39723633?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1719481833.0","currentOid":""},"activityList":{"items":[{"before":"7dcbc8e5450344eb8992e27d3d36bfb4f3e0140b","after":"fe3197e721ded82d0f6f60ac4956f292f0f7396f","ref":"refs/heads/mainnet","pushedAt":"2024-07-02T00:14:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"b5b7cd81dfcb9dde2bb03a0ccc5d30bc797a8a3f","after":"7dcbc8e5450344eb8992e27d3d36bfb4f3e0140b","ref":"refs/heads/mainnet","pushedAt":"2024-07-01T18:05:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"40ff26457697e19175438250d80778274302b1f7","after":"b5b7cd81dfcb9dde2bb03a0ccc5d30bc797a8a3f","ref":"refs/heads/mainnet","pushedAt":"2024-06-29T03:44:22.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Implement the calculate spower offchain feature (#944)\n\nImplement the feature to support spower calculation offchain, this needs to work together with the crust-spower service https://github.com/crustio/crust-spower.\r\n\r\nMain changes:\r\n\r\nswork::report_works doesn't invoke market::upsert_replicas and market::delete_replicas anymore.\r\nThe crust-spower service will index the work reports from chain, and aggregate multiple work reports, then call the newly added market::update_replicas extrinsic to update the replicas data in batch.\r\nUpdate the market::calculate_rewards extrinsic to only liquidate, renew, or close file, but do not update replicas and spower anymore.\r\nThe crust-spower service will index the market::FilesV2 data from chain, and perform spower calculation for changed files in batch, then call the newly added swork::update_spower extrinsic to update the sworker spower and file spower.\r\nThe newly added market::update_replicas extrinsic and swork::update_spower extrinsic can only be called by specific register spower superior account, the account need to be set\r\nUnit tests have been updated per these changes.","shortMessageHtmlLink":"Implement the calculate spower offchain feature (#944)"}},{"before":"e642db9a8d3574254827867e69d1ce8c228b9b3c","after":"bff28216712d785159af144bd17ae98ce1eeac99","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-29T03:42:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Remove unused code","shortMessageHtmlLink":"Remove unused code"}},{"before":"6e05661b3e9506d3ef8bc897ecfe58d49d0a8d76","after":"e642db9a8d3574254827867e69d1ce8c228b9b3c","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-29T03:32:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Add back the comments","shortMessageHtmlLink":"Add back the comments"}},{"before":"0325126e392f18b89e1d8456a665dfcd21b368af","after":"6e05661b3e9506d3ef8bc897ecfe58d49d0a8d76","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-29T03:27:43.000Z","pushType":"push","commitsCount":78,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Merge branch 'mainnet' into brian/calculate-spower-offchain","shortMessageHtmlLink":"Merge branch 'mainnet' into brian/calculate-spower-offchain"}},{"before":"e65f77a3c0bc31cb471f8ba33976d8314e7f0a8c","after":"0325126e392f18b89e1d8456a665dfcd21b368af","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-29T03:22:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Merge the polkadot-sdk from mainnet","shortMessageHtmlLink":"Merge the polkadot-sdk from mainnet"}},{"before":"cea8403bf5152e756c64079fd9610cc9a25b63f9","after":"e65f77a3c0bc31cb471f8ba33976d8314e7f0a8c","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-29T03:09:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Upgrade revision from 22 to 23","shortMessageHtmlLink":"Upgrade revision from 22 to 23"}},{"before":"7881a2939e4dcdb5cd1105d2a93f16b73c0da847","after":"40ff26457697e19175438250d80778274302b1f7","ref":"refs/heads/mainnet","pushedAt":"2024-06-28T18:05:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"7ded6988e1484c6ec85f9b6f99c5c5dab4166515","after":"7881a2939e4dcdb5cd1105d2a93f16b73c0da847","ref":"refs/heads/mainnet","pushedAt":"2024-06-28T12:06:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"a96d5133afa9ce8af1668c22a4535a85a8aca549","after":"cea8403bf5152e756c64079fd9610cc9a25b63f9","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-28T08:18:54.000Z","pushType":"push","commitsCount":79,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Fix rebase from mainnet merge errors","shortMessageHtmlLink":"Fix rebase from mainnet merge errors"}},{"before":"4d4f6d20e2b8d721cb84e546be04a7a5a4c7010a","after":"7ded6988e1484c6ec85f9b6f99c5c5dab4166515","ref":"refs/heads/mainnet","pushedAt":"2024-06-28T01:20:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Add support to set spower superior account (#943)\n\nAdd support to set spower superior account.\r\n\r\nThis is a pre merge commit for the offchain spower calculation feature. We will upgrade this runtime first to set the spower superior beforehand, so that after we upgrade the actual runtime which contains the offchain spower feature, the crust-spower service can run directly without any wait time.","shortMessageHtmlLink":"Add support to set spower superior account (#943)"}},{"before":"05ecf956cdf6b3b482d99ade42cc0dde0c83ceb0","after":"4d4f6d20e2b8d721cb84e546be04a7a5a4c7010a","ref":"refs/heads/mainnet","pushedAt":"2024-06-27T18:05:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"64638a6cb69968732482d1d05d095ade3e42f110","after":"05ecf956cdf6b3b482d99ade42cc0dde0c83ceb0","ref":"refs/heads/mainnet","pushedAt":"2024-06-27T12:06:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":null,"after":"dafbded0398f49aa33f6a31c6ea71f871b042f2a","ref":"refs/heads/brian/set-spower-superior","pushedAt":"2024-06-27T09:50:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Add support to set spower superior account","shortMessageHtmlLink":"Add support to set spower superior account"}},{"before":"ef3aecc46897029c4778f911775027ba737e2abd","after":"a96d5133afa9ce8af1668c22a4535a85a8aca549","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-27T07:41:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Ignore any log file check-in","shortMessageHtmlLink":"Ignore any log file check-in"}},{"before":"37f9e061148f018975c57d3419b4b5fae49ce5b6","after":"ef3aecc46897029c4778f911775027ba737e2abd","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-27T07:40:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Update pallet_swork's test cases to accomodate the latest logic","shortMessageHtmlLink":"Update pallet_swork's test cases to accomodate the latest logic"}},{"before":"d049b1b7f2241300e48898625674c0f1d2bf62e2","after":"37f9e061148f018975c57d3419b4b5fae49ce5b6","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-27T07:37:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"1. Fix bug in update_illegal_file_replicas_count() method, need to use get_current_reported_slot() instead of current_report_slot()\n2. Charge no fee for swork::update_spower extrinsic, since this is a frequent management call\n3. Remove unused commented out codes","shortMessageHtmlLink":"1. Fix bug in update_illegal_file_replicas_count() method, need to us…"}},{"before":"794b0b5b1b0a768da9a097655d2b9df95cd8ec3b","after":"d049b1b7f2241300e48898625674c0f1d2bf62e2","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-27T07:34:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Update pallet_market's test cases to accomodate the latest logic","shortMessageHtmlLink":"Update pallet_market's test cases to accomodate the latest logic"}},{"before":"30a5c539511f9f7673fda8034245463f08657ad4","after":"794b0b5b1b0a768da9a097655d2b9df95cd8ec3b","ref":"refs/heads/brian/calculate-spower-offchain","pushedAt":"2024-06-27T07:32:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"1. Make the market::update_replicas charge no fee as this is a frequent management extrinsic\n2. Fix bug for update_replicas with non-exist cids, need to add to the illegal_file_replicas_map as well under this scenario\n3. Use valid_at as the value of created_at\n4. Update the calculated_at field during maybe_reward_liquidator\n5. Update the calculate_spower to use the latest spower calculation logic","shortMessageHtmlLink":"1. Make the market::update_replicas charge no fee as this is a freque…"}},{"before":"8bcb0e1cea69f1db036d2b4daa46d438541504a3","after":"64638a6cb69968732482d1d05d095ade3e42f110","ref":"refs/heads/mainnet","pushedAt":"2024-06-26T18:05:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"05f32a8e7461bf945ae954ca24ea729dc875ba63","after":"8bcb0e1cea69f1db036d2b4daa46d438541504a3","ref":"refs/heads/mainnet","pushedAt":"2024-06-26T12:06:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"413e2021bdd52668d261281a5e05e7109a9166d5","after":"05f32a8e7461bf945ae954ca24ea729dc875ba63","ref":"refs/heads/mainnet","pushedAt":"2024-06-25T18:06:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"f23d5a190e23a0f2060e186db98889c74ff8348d","after":"413e2021bdd52668d261281a5e05e7109a9166d5","ref":"refs/heads/mainnet","pushedAt":"2024-06-25T12:06:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"1b6cde1384479865621d4513d9a193c78e8a5e9c","after":"f23d5a190e23a0f2060e186db98889c74ff8348d","ref":"refs/heads/mainnet","pushedAt":"2024-06-24T18:05:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"1b395a43efd8a25033c123a4a5634dca5dbc53f4","after":"1b6cde1384479865621d4513d9a193c78e8a5e9c","ref":"refs/heads/mainnet","pushedAt":"2024-06-24T12:06:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"1a96fb9cc41e8122bae4826412e78fae7367b49b","after":"1b395a43efd8a25033c123a4a5634dca5dbc53f4","ref":"refs/heads/mainnet","pushedAt":"2024-06-23T12:06:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"f59faeeca378725d671802f548d2084f0776d929","after":"1a96fb9cc41e8122bae4826412e78fae7367b49b","ref":"refs/heads/mainnet","pushedAt":"2024-06-22T18:05:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"de6bf74aa128684170dc23af7f763e9255383a8e","after":"f59faeeca378725d671802f548d2084f0776d929","ref":"refs/heads/mainnet","pushedAt":"2024-06-21T18:06:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}},{"before":"359f06cff8eca96e2dd91b8b89657b70d16e729b","after":"de6bf74aa128684170dc23af7f763e9255383a8e","ref":"refs/heads/mainnet","pushedAt":"2024-06-21T12:06:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"wuhaixian1984","name":"Brian Wu","path":"/wuhaixian1984","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4935158?s=80&v=4"},"commit":{"message":"Auto updated substrate references","shortMessageHtmlLink":"Auto updated substrate references"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEdETGuAA","startCursor":null,"endCursor":null}},"title":"Activity · crustio/crust"}