Commit Graph

316 Commits

Author SHA1 Message Date
benbierens f5da80dc9c
Sets up ChainEvents object 2024-05-31 10:16:57 +02:00
benbierens f94a67adb4
Extracts event methods from CodexContractsAccess 2024-05-31 10:06:34 +02:00
Ben f1d453251c
cleanup 2024-05-30 11:33:16 +02:00
Ben 117a30bb82
wip 2024-05-30 10:55:33 +02:00
Ben ccc6c815e4
Logging of entire chain state as seen by rewarder bot 2024-05-29 14:05:16 +02:00
benbierens ba9e4b098f
checking that all rewards are sent. 2024-05-24 16:11:51 +02:00
benbierens 69aa3a998f
Fixes bot test contract 2024-05-24 15:34:42 +02:00
benbierens 00fd2cebf9
Merge branch 'master' into feature/rewardbot-tests 2024-05-24 14:34:16 +02:00
benbierens 684a99027b
nice checks for timings of successful contract 2024-05-24 14:33:59 +02:00
Ben 6e9ea47b7d
Tracking contract state change moments in MarketplaceAccess 2024-05-23 11:15:14 +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 fa1b560a91
Adds waiting for debug-mode start message 2024-05-21 12:58:17 +02:00
benbierens d6f7e225be
successful downloading of bot log 2024-05-20 16:18:01 +02:00
Ben 64ae7c8efe
Latest image of Codex 2024-05-15 10:34:40 +02:00
benbierens d8d7605ce5
Increases marketplace graceperiod timespan. 2024-05-10 10:08:45 +02:00
Ben 0ec43a9325
Shuts up json-serialization codex logging 2024-05-07 11:04:32 +02:00
Ben 266c661958
Updates codex API 2024-05-07 10:21:05 +02:00
Ben 8ea4c4ee37
Clean up codex long tests 2024-05-07 10:15:02 +02:00
Ben 39ff757b39
Update + instructions for codex contracts 2024-05-06 16:12:26 +02:00
Ben 2902f6baab
latest master image of Codex 2024-05-01 10:05:46 +02:00
benbierens 84a68521b0
sets up parser for codex log lines 2024-04-27 14:20:31 +02:00
Ben a20e9a30cf
bumps to image with proof support 2024-04-26 11:10:14 +02:00
Ben 52cec0e9f3
bump codex image 2024-04-26 10:43:36 +02:00
Ben c4c3f61a23
parameterizes tests 2024-04-19 11:52:39 +02:00
benbierens 015d8da21d
Better logging for Time.WaitUntil. 2024-04-14 09:22:55 +02:00
gmega 5ffe34bb83
stop crash watcher before stopping pod 2024-04-13 17:20:23 +03:00
gmega e3b16fd742
add ability to stop single containers 2024-04-13 17:12:14 +03:00
benbierens 581cc80d5d
Implements getting blockTimeEntries 2024-04-13 09:19:20 +02:00
benbierens 24cf6c70b8
Improve event logging 2024-04-13 08:57:46 +02:00
benbierens 525fdcf4a7
Merge branch 'master' into feature/bot-upgrade 2024-04-11 08:12:02 +02:00
benbierens 4a0885cf2d
Check for marketplace contract up-to-date 2024-04-11 07:46:00 +02:00
benbierens 0224f17733
fixes serialization of request state 2024-04-09 13:24:30 +02:00
benbierens 0182ce134f
Applies future container to existing plugins 2024-04-09 10:23:07 +02:00
benbierens 69666d3fee
Setting up future-containers 2024-04-09 09:30:45 +02:00
benbierens 605004286a
Merge branch 'feature/bot-upgrade' 2024-04-08 16:08:05 +02:00
benbierens bbc975141f
Creates events overview in rewarder bot 2024-04-08 16:07:52 +02:00
benbierens 43aaed225d
Updates codex image 2024-04-03 20:40:13 +02:00
Ben 29344451d6
workaround for getpurchases api call 2024-04-02 14:53:45 +02:00
benbierens 4cd22f3719
Rather embarrasing mistake in rewarderbot interval config param. 2024-04-01 15:55:47 +02:00
benbierens 6c4b9345cb
sensible time range for bot test 2024-04-01 14:08:30 +02:00
benbierens a6b0b16909
ready for bot test 2024-04-01 11:22:28 +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 1344a6e3d2
Cleanup 2024-04-01 11:01:21 +02:00
benbierens 9a2e889ef9
Fixes convert issue in mapper. Removes CodexPlugin from discord bot dependencies. 2024-04-01 10:11:44 +02:00
benbierens 0263cc4eff
Force rebuild of openapi client code each CodexPlugin build. 2024-04-01 10:04:32 +02:00
benbierens b40215dd36
Updates image and api 2024-04-01 08:58:45 +02:00
Ben 376fd60974
debugging image 2024-03-29 12:09:01 +01: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 581cf2a813
Merge branch 'feature/codex-openapi' 2024-03-27 15:24:40 +01:00
Ben db6db4d38c
Fixes metrics tests 2024-03-27 09:41:12 +01:00
Ben 127b7daecc
Improves plugin log initialization 2024-03-27 08:41:18 +01:00
Ben 6597728e5c
Makes contract-clock log topic configurable 2024-03-27 08:13:36 +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 9fe97f5d40
Debugs compatibility check. 2024-03-26 16:10:50 +01:00
Ben a53d2de13b
Moves ethAccount to Geth plugin. Enables setting ethAccount when Codex starts. 2024-03-26 15:35:26 +01:00
Ben d9d8441b6e
compiletime checking of all map calls 2024-03-26 15:12:28 +01:00
Ben e72c1b037c
Implements api compatiblity checker 2024-03-26 14:42:47 +01:00
Ben bce9a2c124
Lines up new openAPI.yaml 2024-03-26 14:07:06 +01:00
Ben f57188914e
Restores marketplace access 2024-03-26 12:23:38 +01:00
Ben 3bd297a22d
restores connect-to-peer 2024-03-26 12:14:02 +01:00
Ben 85774847b7
Restoring marketplace types 2024-03-26 11:39:59 +01:00
Ben 8fcf351613
Restores debug/peer 2024-03-26 10:31:49 +01:00
Ben 05d28d1d0a
Restores debug info 2024-03-26 10:03:52 +01:00
Ben a3253b42d8
Introduces endpoint component from old http functionality 2024-03-26 09:10:06 +01:00
Ben b69059fd37
restoring debug-info 2024-03-26 08:58:16 +01:00
Ben c122aa9910
sets up http client 2024-03-25 15:46:45 +01:00
Ben 03a3ccb4de
prototype of pre-build yaml hash injection 2024-03-25 13:48:20 +01:00
Ben 87ec67778b
poc: upload and download streams working 2024-03-25 11:37:41 +01:00
Ben bd5fe0cae1
Sets up client generation with NSwag 2024-03-25 10:20:44 +01:00
Ben e8213b9515
Updates codex image 2024-03-25 10:17:32 +01:00
Ben 7d28b62206
new image 2024-03-22 13:36:33 +01:00
Ben a27b294031
Updates codex marketplace API types 2024-03-22 11:15:22 +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 db37143db6
cleanup 2024-03-20 13:36:06 +01:00
Ben 2a5b3e0eec
fixes marketplace test 2024-03-20 11:32:16 +01:00
Ben a6c2bf5230
Cleanup marketplace-access methods 2024-03-20 11:11:41 +01:00
Ben 32f56e8213
Marketplace test fails: submitted proof is invalid. 2024-03-15 16:07:10 +01:00
Ben f757e64ba4
wip 2024-03-15 13:50:39 +01:00
benbierens 188f765b5c
bash, not sh 2024-03-15 12:48:25 +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 db5c5444c5
Removes contract clock from logging 2024-03-14 14:29:28 +01:00
Ben 209eb31c58
fixes issue where kubernetes does not honor container entrypoints when command override is used 2024-03-13 12:09:25 +01:00
Ben 956cdbcfbe
sets contracts image to latest 2024-03-13 10:57:35 +01:00
Ben c5fb066c75
Allows for non-blocking stop of containers 2024-03-13 10:57:26 +01:00
Ben 90b90be3cb
Updates usages of EnableMarketplace 2024-03-13 10:29:26 +01:00
Ben a6a8c3f1e7
Update codex container recipe 2024-03-13 10:18:10 +01:00
Ben b7904f7ee0
Updates codexSetup and Marketplace configuration 2024-03-13 10:14:11 +01:00
benbierens b35cf3139d
Bumps contracts image to latest 2024-02-26 15:08:04 +01:00
benbierens 64ecf531bd
Adds missing error message check to marketplaceAccess 2024-02-26 09:02:46 +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 42d3c5cd2c
debugging rewards 2024-02-19 15:41:48 +01:00
benbierens 1bf693938c
Block range type 2024-02-19 15:20:12 +01:00
benbierens 3c210f96fc
debugging reward api 2024-02-19 09:11:36 +01:00
benbierens 7d33c1c113
Sets up rewarder bot container recipe 2024-01-31 11:52:02 -05:00
benbierens 255e08a301
Implements check classes 2024-01-26 17:29:57 -05:00
benbierens f25bca727d
Fixes crash in blocktime finder. Increases smart contract deploy timeout. 2024-01-26 11:27:37 -05:00
benbierens fb73312e80
Merge branch 'master' into feature/bot-upgrade 2024-01-26 08:47:23 -05:00
Slava 9a626b7260
Updates contracts image to latest working one (#92) 2024-01-25 19:10:49 +02:00
benbierens 00c720137a
Adds method for getting request state and receiving cancelled events 2024-01-22 16:27:32 +01:00
benbierens 890cff93d5
Adds method for getting request-fulfilled events 2024-01-22 16:05:04 +01:00
benbierens 678b719cef
wip 2024-01-22 11:47:28 +01:00
benbierens f7fcef56c7
upgrades log filtering 2024-01-18 10:24:59 +01:00
benbierens 29fa554146
Adds log topics for block exchange 2024-01-18 09:55:07 +01:00
benbierens 2f10b30283
Sets up rewards api and handling. 2023-12-20 15:56:03 +01:00
benbierens 391a2653d9
Sets up getting of slot filled and freed events 2023-12-20 13:21:53 +01:00
benbierens 55be07d711
Implements getting slot host address 2023-12-20 11:34:23 +01:00
benbierens 75757e37fb
Can fetch storage requests from chain 2023-12-20 10:55:29 +01:00
benbierens 4b74a9d5fe
working block time finder 2023-12-20 09:48:22 +01:00
benbierens 4f2539c59f
Adds marketplace generated code 2023-12-19 15:43:26 +01:00
benbierens 7df1f3da7b
block time finder 2023-12-19 15:30:46 +01:00
benbierens 87e84ae90d
Adds method for checking of codex contracts are deployed 2023-12-18 13:32:58 +01:00
benbierens beaa67c280
Adds transaction links to mint output 2023-12-15 11:02:06 +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 ec03be6936
Fixes initialization of geth node 2023-12-11 08:38:31 +01:00
benbierens 5dc918287c
Merge branch 'master' into feature/public-testnet-deploying 2023-12-11 08:30:25 +01:00
benbierens 09554da362
Adds transfer speeds to status logs. 2023-12-06 10:50:02 +01:00
benbierens 074f5ebfae
Sets up transferSpeed class 2023-12-06 09:59:45 +01:00
benbierens 260bc93414
Updates contracts image to latest 2023-12-06 09:34:22 +01:00
Slava 4c46a708ab
Change affinity label (#85)
https://github.com/codex-storage/infra-codex/issues/100
2023-11-27 19:06:04 +02:00
benbierens 3761e236a3
Sets node critical priority for codex and geth nodes 2023-11-23 14:50:54 +01:00
benbierens b61f5d835c
Fixes request-storage endpoint 2023-11-23 14:10:59 +01:00
benbierens 1a86d3459d
Fixes local files endpoint 2023-11-23 13:43:19 +01:00
benbierens 6bd7098cfe
Fixes download endpoint. 2023-11-23 13:32:58 +01:00
benbierens 46ab3b31ca
Checking that we can bootstrap geth nodes together. 2023-11-21 10:33:11 +01:00
benbierens 54471d41d5
Allows for deployment without codex nodes 2023-11-21 09:03:52 +01:00
benbierens 8b224f6922
Updates public ip to point to service 2023-11-20 11:19:10 +01:00
benbierens b90c47a994
Switches to automatic public IP address for codex and geth containers. 2023-11-15 14:53:25 +01:00
benbierens 485e3cf02e
Merge branch 'master' into feature/public-testnet-deploying 2023-11-14 10:50:41 +01:00
benbierens 7de0e5a1c4
Sets up tests-runners as avoided scheduling affinity. 2023-11-14 10:16:00 +01:00
benbierens a81f0b9145
Merge branch 'master' into feature/public-testnet-deploying 2023-11-13 13:15:23 +01:00
benbierens 960bef455a
Adds codex revision to metadata. 2023-11-13 09:37:45 +01:00
benbierens 71ad471958
Cleanup routing table tests. Adds retry. 2023-11-12 11:24:58 +01:00
benbierens ed56d9edcc
Cleanup of kubernetesWorkflow assembly. 2023-11-12 10:07:23 +01:00
benbierens 096282ae1a
Fixes debug/peer serialization. Adds retry for pod-finding. 2023-11-10 15:23:16 +01:00
benbierens c5cc15daa0
Updates endpoint to match latest Codex 2023-11-10 08:20:08 +01:00
benbierens d1403c04c4
updates bot secret name 2023-11-08 11:59:31 +01:00
benbierens 8d12bc45a1
Loops in kubeconfig and namespace for discord bot. 2023-11-08 11:49:21 +01:00
benbierens b8ce4c49d6
Merge branch 'master' into deployment-json-rework
# Conflicts:
#	Tests/CodexContinuousTests/run.sh
#	Tools/CodexNetDeployer/deploy-continuous-testnet.sh
2023-11-08 09:29:22 +01:00
benbierens 90070de028
Enable debug logging from single environment variable or static field. 2023-11-08 09:24:39 +01:00
benbierens ea66b5b408
debugging address selection in cluster 2023-11-07 12:02:17 +01:00
benbierens 655f4895d0
Fixes serialization issue for running containers for discord bot and metrics container 2023-11-07 11:17:20 +01:00
benbierens d0bed64c68
Disables resource limits 2023-11-07 09:25:51 +01:00
benbierens 6672427565
Restores marketplace test 2023-11-06 16:10:19 +01:00
benbierens 4f9c0e0ce7
Restores metrics 2023-11-06 15:27:23 +01:00
benbierens dc9f3ab090
removes dependency on static pod name and address info 2023-11-06 14:33:47 +01:00