Commit Graph

231 Commits

Author SHA1 Message Date
Ben 52a02abd3f
Fixes incorrect block numbers in eventFormatter 2024-06-27 11:43:25 +02:00
Ben ba43fd90c6
Adds admin option to set custom replacements 2024-06-27 11:16:17 +02:00
Ben 01ee514c73
Implements known username replacement 2024-06-27 10:44:37 +02:00
Ben 1eb30329c6
Pulls out chain events sender 2024-06-27 10:14:23 +02:00
Ben 0ef55abdf4
Adds events formatter 2024-06-27 10:07:10 +02:00
Ben 8341807d92
Disables role rewards (not configured in real server) 2024-06-26 11:27:19 +02:00
benbierens a905f0ce53
fixes crash in market buffer again 2024-06-21 09:59:24 +02:00
benbierens 0c4d3be912
Fixes crash in marketBuffer 2024-06-21 09:33:52 +02:00
benbierens f9c7e18985
Merge branch 'master' into chainstate-update 2024-06-21 08:56:43 +02:00
benbierens 32e7028029
wip 2024-06-21 08:56:20 +02:00
Ben cc3eddf02d
wip 2024-06-20 12:15:59 +02:00
Ben 5280f0732c
Sets up docker image for creating keys 2024-06-19 14:04:27 +02:00
Ben bed57dd35b
Finish replace of old chainstate object in rewarder bot 2024-06-17 15:34:08 +02:00
benbierens c38a2242ba
wip 2024-06-14 11:09:51 +02:00
benbierens f94a67adb4
Extracts event methods from CodexContractsAccess 2024-05-31 10:06:34 +02:00
Ben 12dc7efd5b
wip 2024-05-30 11:17:13 +02:00
Ben ccc6c815e4
Logging of entire chain state as seen by rewarder bot 2024-05-29 14:05:16 +02:00
Ben b1818400ca
Merge branch 'master' into feature/rewardbot-tests
# Conflicts:
#	Tests/CodexTests/UtilityTests/DiscordBotTests.cs
2024-05-22 11:11:47 +02:00
Ben f7bdafbdc5
Improved representation of TestToken amounts 2024-05-22 11:06:34 +02:00
Ben e082f8a31c
Changes Mint-TT bot parameter to BigInt type. 2024-05-21 13:09:46 +02:00
Ben 22cf82b99b
Adds no-discord debug option to discord bot. 2024-05-16 16:00:19 +02:00
Ben 8847de116d
cleanup rewarder bot config 2024-05-16 14:07:14 +02:00
Ben 7d9dcb263d
Prints default ArgsUniform values. Applies discord IDs instead of names. 2024-05-16 14:05:58 +02:00
Ben 9717591224
Updates bot config to use ids instead of names 2024-05-16 11:54:31 +02:00
benbierens e187bfc941
Changes time.retry to fixed timelength instead of fixed number of retries 2024-05-02 08:41:20 +02:00
benbierens 86074dab6a
Bump k8s operation timeout for long timeset 2024-04-14 09:29:13 +02:00
gmega e3b16fd742
add ability to stop single containers 2024-04-13 17:12:14 +03:00
benbierens 899d775873
Adds finished requests 2024-04-13 11:15:39 +02:00
benbierens 24cf6c70b8
Improve event logging 2024-04-13 08:57:46 +02:00
benbierens ae25b58610
Fixes exception in market averages 2024-04-12 09:12:51 +02:00
benbierens 2cf5a26934
Sends updates to discord bot when no rewards are found. 2024-04-12 08:44:14 +02:00
benbierens 5ed78da30b
Fixes possible crash in market averages 2024-04-11 17:28:12 +02:00
benbierens ca7258ef28
async dispatches sending of event overview to discord channel 2024-04-11 13:14:21 +02:00
benbierens 1dbb749732
Removes ChangedEvents field from chain-state, not necessary 2024-04-11 08:50:03 +02:00
benbierens 4a0885cf2d
Check for marketplace contract up-to-date 2024-04-11 07:46:00 +02:00
benbierens bbc975141f
Creates events overview in rewarder bot 2024-04-08 16:07:52 +02:00
benbierens 0b2dcef57e
Sets up showing of chain events in discord bot 2024-04-08 13:55:39 +02:00
benbierens 9f7e95c515
Applies async/await to getbalance and mint commands 2024-04-08 13:36:55 +02:00
benbierens 9c8151bdb7
Adds Market command 2024-04-07 14:04:31 +02:00
Ben b805c5f004
Prevents duplicate addresses to be sent in the same reward request 2024-04-03 09:21:10 +02:00
Ben 5511f8ed32
Extra logging for discordbot reward API 2024-04-02 13:32:06 +02:00
benbierens 362040bd3c
Sets up docker image and CI 2024-04-01 21:29:02 +02:00
benbierens 40393c3a5b
Using raw version of purchase-status call. API doesn't line up 2024-04-01 21:09:24 +02:00
benbierens 7f972bac85
Mvoes autoclient 2024-04-01 20:47:56 +02:00
benbierens 4cd22f3719
Rather embarrasing mistake in rewarderbot interval config param. 2024-04-01 15:55:47 +02:00
benbierens 2ab84e2a61
Time handling for rewarder 2024-04-01 13:56:07 +02:00
benbierens 8c64352acf
Merge branch 'master' into feature/bot-upgrade 2024-04-01 11:07:16 +02:00
Ben Bierens fd38cc336b
Merge pull request #101 from codex-storage/feat/multi-stage-builds-for-rewarder
Use multi-stage builds for Rewarder
2024-04-01 11:06:52 +02:00
benbierens f5429b9c14
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-04-01 11:06:06 +02:00
benbierens 9a2e889ef9
Fixes convert issue in mapper. Removes CodexPlugin from discord bot dependencies. 2024-04-01 10:11:44 +02:00
Slava a58c9aba59
Use multi-stage builds for BiblioTech 2024-04-01 11:05:17 +03:00
Slava 0a8083d4d5
Use multi-stage builds for Rewarder 2024-03-31 22:18:48 +03:00
Ben 8bc63c1fdb
Configurable testtoken and eth amounts for mint command 2024-03-29 11:24:11 +01:00
Ben 01d6b8f227
Applies blockInterval 2024-03-27 15:39:42 +01:00
Ben 330552563c
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-03-27 15:25:58 +01:00
Ben f6edf6cbd5
Overdue readme updates 2024-03-27 15:01:32 +01:00
Ben 9e9773f45d
Merge branch 'master' into feature/codex-openapi
# Conflicts:
#	ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs
2024-03-26 16:16:39 +01:00
Ben a53d2de13b
Moves ethAccount to Geth plugin. Enables setting ethAccount when Codex starts. 2024-03-26 15:35:26 +01:00
Ben b69059fd37
restoring debug-info 2024-03-26 08:58:16 +01:00
Ben 0a4c4c60c5
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Framework/NethereumWorkflow/BlockTimeFinder.cs
#	Framework/NethereumWorkflow/NethereumInteraction.cs
2024-03-22 10:59:57 +01:00
Ben a6c2bf5230
Cleanup marketplace-access methods 2024-03-20 11:11:41 +01:00
benbierens 8c8b1748ee
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-03-15 09:35:27 +01:00
Ben 90b90be3cb
Updates usages of EnableMarketplace 2024-03-13 10:29:26 +01:00
Giuliano Mega ec0f7a6790
Remove run ID and introduce deploy ID (#93)
This PR removes the notion of a run id and replaces it with a deploy id in continuous tests. Deploy ids can be set at deploy time only (duh), and will be picked up by the test runner from the deploy file on subsequent runs of the continuous test runner. As a consequence, the deploy id becomes a deployer parameter, and can no longer be overridden at the runner. For non-continuous tests, the deploy ID is created on-the-fly.
2024-02-22 10:41:07 -03:00
benbierens a6fce1084d
Check connection no more than once every 30 seconds 2024-02-19 15:59:49 +01:00
benbierens 23b7bbd548
Fixes sending of rewards to bot 2024-02-19 15:57:28 +01:00
benbierens 42d3c5cd2c
debugging rewards 2024-02-19 15:41:48 +01:00
benbierens da4101a042
Debugging time segmenter 2024-02-19 14:56:49 +01:00
benbierens 3c210f96fc
debugging reward api 2024-02-19 09:11:36 +01:00
benbierens dd5baeda46
Adds reward api port to bot config 2024-02-01 17:02:10 -05:00
benbierens cb259a9086
Setting up docker for rewarder bot 2024-01-31 11:30:29 -05:00
benbierens 9d8ec6f794
loads up reward-repo with test server roles 2024-01-31 11:18:22 -05:00
benbierens acc9526cd5
Extracts reward config from bot and rewarder 2024-01-29 11:02:47 -05:00
benbierens 1b7c11b849
Setting up rewards 2024-01-22 10:27:07 +01:00
benbierens c6a7489f11
wip 2024-01-20 13:07:56 +01:00
benbierens 2f10b30283
Sets up rewards api and handling. 2023-12-20 15:56:03 +01:00
Slava 974fc460c4
Remove preview from MintCommand explorer link (#89) 2023-12-18 16:38:16 +02:00
benbierens 87e84ae90d
Adds method for checking of codex contracts are deployed 2023-12-18 13:32:58 +01:00
benbierens 2c026f99ca
Merge branch 'feature/bot-upgrade' 2023-12-18 11:28:22 +01:00
benbierens 6298744918
Better logging 2023-12-18 11:27:28 +01:00
Slava fd540a53b1
Add Discordbot docker builds (#87)
* Add BiblioTech Docker builds

https://github.com/codex-storage/infra-codex/issues/113

* Organize workflows

https://github.com/codex-storage/infra-codex/issues/113
2023-12-15 14:07:52 +02:00
benbierens 03283414cb
Adds transaction ID to record of user activity 2023-12-15 11:09:15 +01:00
benbierens beaa67c280
Adds transaction links to mint output 2023-12-15 11:02:06 +01:00
benbierens 2b21722cf3
forgot to hook up getSPR command 2023-12-11 11:19:05 +01:00
benbierens c3fb7384e3
Sets up deploying discordbot with geth env vars 2023-12-11 11:09:29 +01:00
benbierens fde19383df
Removes deployment.json from discord bot. 2023-12-11 11:01:12 +01:00
benbierens 777e414f0a
Prevents duplicate deployments. 2023-12-11 09:59:09 +01:00
benbierens 6d7309cc9c
Update bot for deployment without codex nodes. 2023-12-11 08:51:46 +01:00
benbierens 55811b20da
Fixes validation for not deploying codex nodes 2023-12-11 08:30:05 +01:00
benbierens a84d6a3c22
Replaces debug/info fetching with list of known SPRs, settable via admin commands. 2023-11-21 09:38:58 +01:00
benbierens 54471d41d5
Allows for deployment without codex nodes 2023-11-21 09:03:52 +01:00
benbierens b90c47a994
Switches to automatic public IP address for codex and geth containers. 2023-11-15 14:53:25 +01:00
benbierens a81f0b9145
Merge branch 'master' into feature/public-testnet-deploying 2023-11-13 13:15:23 +01:00
benbierens 96ff3c38bb
Adds test for routing table checks. 2023-11-12 10:36:48 +01:00
benbierens ed56d9edcc
Cleanup of kubernetesWorkflow assembly. 2023-11-12 10:07:23 +01:00
benbierens 84382b4ab4
Removes server-admin requirement for admin commands 2023-11-09 11:14:17 +01:00
benbierens 26ec841db1
locks out default permissions for admin commands 2023-11-09 10:45:28 +01:00
benbierens 1ed93bbdde
Adds required admin permission for admin commands. 2023-11-09 10:37:57 +01:00
benbierens ef83441b2f
Correct chunking of long messages 2023-11-09 10:13:34 +01:00
benbierens 180bf3fd35
Fixes debugPeer response formatting 2023-11-08 13:33:48 +01:00