Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: service consumer contract flow #567

Merged
merged 16 commits into from
Jan 27, 2023

Conversation

renauter
Copy link
Collaborator

@renauter renauter commented Jan 4, 2023

@DylanVerstraete
Copy link
Contributor

Looks good already, maybe also explain following items:

  • The amount billed is sent to the service account
  • The service can bill any time window up to 1 hour, it's not mandatory it bills every 1 hour. It could also bill every 10 minutes if I understand correctly?

@renauter
Copy link
Collaborator Author

renauter commented Jan 4, 2023

  • The service can bill any time window up to 1 hour, it's not mandatory it bills every 1 hour. It could also bill every 10 minutes if I understand correctly?

Indeed, I changed it

  • The amount billed is sent to the service account

I tried to be more explicit

It would be cool to add some examples of application at the beginning to illustrate what the feature can do
If someone more indicated could do it?

@renauter renauter marked this pull request as ready for review January 24, 2023 13:46
@renauter renauter removed the request for review from robvanmieghem January 24, 2023 13:46
Copy link
Contributor

@LeeSmet LeeSmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just 2 minor comments

Comment on lines 9 to 11
Multiple use cases can benefit from this feature, here are some examples of applications:

//TODO give some examples of applications
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add an example before this gets merged, or remove the "here are some examples"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have clear idea of specific applications so I removed it
If anyone has examples, feel free to add

@DylanVerstraete
Copy link
Contributor

@renauter can you review merge conflicts so we can merge after?

renauter and others added 2 commits January 26, 2023 09:25
@DylanVerstraete DylanVerstraete merged commit 12bc884 into development Jan 27, 2023
@DylanVerstraete DylanVerstraete deleted the development_service_contract_doc branch January 27, 2023 12:58
DylanVerstraete added a commit that referenced this pull request Apr 12, 2023
* feat: rework documentation (#571)

* doc: service consumer contract flow (#567)

* fix: farming policies map ids (#591)

* chore: reset runtime migrations

* feat: delete twin is not allowed (#586)

* fix: typos (#595)

* fix: locked balances (#590)

* feat: allow twin to connect to a relay (#570)

* chore: bump to version 2.3.0-rc1 (specVersion: 124)

* feat: add node power (#592)

* chore: update ADR docs

* chore: bump to version 2.3.0-rc2 (specVersion: 125)

* chore: rework logging pallet smart contract

* fix: allow numbers in relay addresses

* chore: bump to version 2.3.0-rc3 (specVersion: 125)

* fix: migration V15 for devnet #598

* chore: bump to version 2.3.0-rc4 (specVersion: 127)

* chore: restore V15 migration

* chore: update dev chain spec

* fix: soften serial number validation (#603)

* chore: set max length of serial number to 128 bytes

* chore: align tft bridge dependency

* chore: update default dev chainspec

* chore: revert default dev bridge validators chainspec

* Drop unused structopt dependency

This also removes some unused child dependencies

Signed-off-by: Lee Smet <lee.smet@hotmail.com>

* Set the substrate node default chart image to ghcr.io

* fix: rework balances migrations

* chore: refactor

* feat: also remove contract and lock if twin is deleted

* chore: add writes

* chore: resolve comment

* chore: fix ci

* chore: resolve pr comments

* chore: add log

* Update build_test.yaml to use the new runner (#617)

* chore: remove serial valdiation (#616)

* chore: bump to version 2.3.0-rc6 (specVersion: 129)

* chore: rework chart #620

* fix: discount calculation handle variable billing frequency (#626)

* fix: migrations for v2.3.0 (#627)

* chore: bump to version 2.3.0-rc7 (specVersion: 130)

* fix: soften node city/country validation

* chore: bump to version 2.3.0-rc8 (specVersion: 131)

* chore: update cargo lock

* chore: bump version to 2.3.0

---------

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
Co-authored-by: Erwan Renaut <73958772+renauter@users.noreply.github.com>
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
Co-authored-by: Lee Smet <lee.smet@hotmail.com>
Co-authored-by: Rob Van Mieghem <robvanmieghem@gmail.com>
Co-authored-by: Brandon <brandon@threefold.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants