Skip to content

Commit

Permalink
Update contract addresses for Aurora reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorlin committed Mar 19, 2024
1 parent ddc24ac commit d5df52b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/smart-contract-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It works in tandem with the `lilypad jobcreator` on-chain which will watch the o

You will need to know the contract address for the on-chain job creator so we can submit transactions to it.

The production controller address is `0xCCAaFD2AdD790788436f10e2C84585C46388b9aF` and you can ask it for the address of the on-chain job creator `getJobCreatorAddress()`
The production controller address is `0x8e136587e3e5266d5244f6aa896E5CAf8E969946` and you can ask it for the address of the on-chain job creator `getJobCreatorAddress()`

Running a job involves 2 phases:

Expand Down Expand Up @@ -179,4 +179,4 @@ main().catch((error) => {
process.exitCode = 1;
});

```
```
4 changes: 2 additions & 2 deletions ops/systemd/job-creator.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Environment="LOG_TYPE=json"
Environment="LOG_LEVEL=debug"
Environment="HOME=/app/lilypad"
EnvironmentFile=/app/lilypad/job-creator.env
Environment="SERVICE_SOLVER=0xd4646ef9f7336b06841db3019b617ceadf435316"
Environment="SERVICE_MEDIATORS=0x2d83ced7562e406151bd49c749654429907543b4"
Environment="SERVICE_SOLVER=0x346d811cbb883548252418121f5bb0371eb07049"
Environment="SERVICE_MEDIATORS=0xA99fd5f0D91664417401F63d72a41eCdDC2d6961"
Restart=always
RestartSec=5s
ExecStart=/usr/bin/lilypad jobcreator
Expand Down
2 changes: 1 addition & 1 deletion ops/systemd/mediator.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Environment="LOG_TYPE=json"
Environment="LOG_LEVEL=debug"
Environment="HOME=/app/lilypad"
EnvironmentFile=/app/lilypad/mediator.env
Environment="SERVICE_SOLVER=0xd4646ef9f7336b06841db3019b617ceadf435316"
Environment="SERVICE_SOLVER=0x346d811cbb883548252418121f5bb0371eb07049"
Restart=always
RestartSec=5s
ExecStart=/usr/bin/lilypad mediator
Expand Down
4 changes: 2 additions & 2 deletions ops/systemd/resource-provider-gpu.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Environment="LOG_LEVEL=debug"
Environment="HOME=/app/lilypad"
Environment="OFFER_GPU=1"
EnvironmentFile=/app/lilypad/resource-provider-gpu.env
Environment="SERVICE_SOLVER=0xd4646ef9f7336b06841db3019b617ceadf435316"
Environment="SERVICE_MEDIATORS=0x2d83ced7562e406151bd49c749654429907543b4"
Environment="SERVICE_SOLVER=0x346d811cbb883548252418121f5bb0371eb07049"
Environment="SERVICE_MEDIATORS=0xA99fd5f0D91664417401F63d72a41eCdDC2d6961"
Restart=always
RestartSec=5s
ExecStart=/usr/bin/lilypad resource-provider
Expand Down
4 changes: 2 additions & 2 deletions ops/systemd/resource-provider.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Environment="LOG_TYPE=json"
Environment="LOG_LEVEL=debug"
Environment="HOME=/app/lilypad"
EnvironmentFile=/app/lilypad/resource-provider.env
Environment="SERVICE_SOLVER=0xd4646ef9f7336b06841db3019b617ceadf435316"
Environment="SERVICE_MEDIATORS=0x2d83ced7562e406151bd49c749654429907543b4"
Environment="SERVICE_SOLVER=0x346d811cbb883548252418121f5bb0371eb07049"
Environment="SERVICE_MEDIATORS=0xA99fd5f0D91664417401F63d72a41eCdDC2d6961"
Restart=always
RestartSec=5s
ExecStart=/usr/bin/lilypad resource-provider
Expand Down
4 changes: 2 additions & 2 deletions pkg/options/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

func GetDefaultServicesOptions() data.ServiceConfig {
return data.ServiceConfig{
Solver: GetDefaultServeOptionString("SERVICE_SOLVER", "0xd4646ef9f7336b06841db3019b617ceadf435316"),
Mediator: GetDefaultServeOptionStringArray("SERVICE_MEDIATORS", []string{"0x2d83ced7562e406151bd49c749654429907543b4"}),
Solver: GetDefaultServeOptionString("SERVICE_SOLVER", "0x346d811cbb883548252418121f5bb0371eb07049"),
Mediator: GetDefaultServeOptionStringArray("SERVICE_MEDIATORS", []string{"0xA99fd5f0D91664417401F63d72a41eCdDC2d6961"}),
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/options/web3.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func GetDefaultWeb3Options() web3.Web3Options {
ChainID: GetDefaultServeOptionInt("WEB3_CHAIN_ID", 1337), //nolint:gomnd

// contract addresses
ControllerAddress: GetDefaultServeOptionString("WEB3_CONTROLLER_ADDRESS", "0xCCAaFD2AdD790788436f10e2C84585C46388b9aF"),
ControllerAddress: GetDefaultServeOptionString("WEB3_CONTROLLER_ADDRESS", "0x8e136587e3e5266d5244f6aa896E5CAf8E969946"),
PaymentsAddress: GetDefaultServeOptionString("WEB3_PAYMENTS_ADDRESS", ""),
StorageAddress: GetDefaultServeOptionString("WEB3_STORAGE_ADDRESS", ""),
UsersAddress: GetDefaultServeOptionString("WEB3_USERS_ADDRESS", ""),
Expand Down

0 comments on commit d5df52b

Please sign in to comment.