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

Data availability #124

Open
wants to merge 210 commits into
base: main
Choose a base branch
from
Open

Data availability #124

wants to merge 210 commits into from

Conversation

Rom3dius
Copy link
Contributor

Stores withdrawals, transfers and deposits in a single postgresql table. Allows to query for a maximum amount of 500 transactions, using the following filters:

  • sender
  • recipient
  • min amount
  • max amount
  • min timestamp
  • max timestamp

Timestamp is created right before insert.

Testing needs work, tests currently fail because test setup is synchronous but pool setup needs async runtime. And of course the missing database. This is the current testing connection string: postgres://kairos:kairos@localhost/kairos

koxu1996 and others added 30 commits May 10, 2024 14:45
Copy link
Contributor

@koxu1996 koxu1996 left a comment

Choose a reason for hiding this comment

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

LGTM. One remark: I think we should store transactions in kairos-tx format.

@jonas089 jonas089 self-requested a review June 24, 2024 11:47
Copy link
Contributor

@jonas089 jonas089 left a comment

Choose a reason for hiding this comment

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

lgtm

marijanp and others added 22 commits June 24, 2024 15:48
nixos/cctl: use exponential backoff, remove unused code
kairos-test-utils/cctl: add deploy contract function
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.

None yet

5 participants