Skip to content

Commit

Permalink
Fix rev share percentage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Oct 11, 2024
1 parent b60dac9 commit 6ace1dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docusaurus/docs/operate/configs/supplier_staking_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ _`Optional`_, _`Non-empty`_

```yaml
default_rev_share_percent:
<shareholder_address>: <float>
<shareholder_address_1>: <float>
<shareholder_address_2>: <float>
```

`default_rev_share_percent` is an optional map that defines the default the revenue
Expand Down
8 changes: 4 additions & 4 deletions localnet/poktrolld/config/supplier1_stake_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ owner_address: pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4
operator_address: pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4
stake_amount: 1000069upokt
default_rev_share_percent:
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 80.5
- pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 19.5
pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 80.5
pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 19.5
services:
- service_id: anvil
endpoints:
- publicly_exposed_url: http://relayminer1:8545
rpc_type: JSON_RPC
- service_id: ollama
rev_share_percent:
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 50
- pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 50
pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 50
pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 50
endpoints:
- publicly_exposed_url: http://relayminer1:8545
rpc_type: REST
8 changes: 4 additions & 4 deletions localnet/poktrolld/config/supplier_stake_config_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ stake_amount: 1000069upokt
# or include at least one item.
default_rev_share_percent:
# The sum of all shares MUST equal 100%. Staking will fail otherwise.
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 80.5
- pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 19.5
pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 80.5
pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 19.5
services:
# The endpoint URL for the Anvil service is provided via the RelayMiner.
# The RelayMiner acts as a proxy, forwarding requests to the actual Anvil data node behind it.
Expand All @@ -45,8 +45,8 @@ services:
# service, default_rev_share_percent is used.
# The sum of all shares MUST equal 100%. Staking will fail otherwise.
rev_share_percent:
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 50
- pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 50
pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4: 50
pokt1eeeksh2tvkh7wzmfrljnhw4wrhs55lcuvmekkw: 50
endpoints:
- publicly_exposed_url: http://relayminer1:8545
rpc_type: REST

0 comments on commit 6ace1dc

Please sign in to comment.