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

Rename to DataTrails #15

Merged
merged 4 commits into from
Nov 10, 2023
Merged

Rename to DataTrails #15

merged 4 commits into from
Nov 10, 2023

Conversation

honourfish
Copy link
Contributor

@honourfish honourfish commented Nov 10, 2023

Testing

  • tested against a public event that was anchored onto prod:

public blockchain response:

{
    "transactions": [
        {
            "transaction": {
               ...
            },
            "simple_hash_details": {
                "api_query": "https://app.rkvst.io/archivist/v2/publicassets/-/events?order_by=SIMPLEHASHV2&proof_mechanism=SIMPLE_HASH&timestamp_accepted_since=2023-11-06T12:26:45Z&timestamp_accepted_before=2023-11-06T12:27:58Z",
                "start_time": "2023-11-06T12:26:45Z",
                "end_time": "2023-11-06T12:27:58Z",
                "hash_schema_version": 2,
                "anchor_hash": "3eedce37bb9803859039d3096965bae37fb28547ac3e3ff404bfb903a5b18bee",
                "event_count": 1
            },
            "kind": "SIMPLE_HASH"
        }
    ],
    "next_page_token": ""
}

Script output:

$> datatrails_simplehashv2 "https://app.rkvst.io/archivist/v2/publicassets/-/events?order_by=SIMPLEHASHV2&proof_mechanism=SIMPLE_HASH&timestamp_accepted_since=2023-11-06T12:26:45Z&timestamp_accepted_before=2023-11-06T12:27:58Z"
$> 3eedce37bb9803859039d3096965bae37fb28547ac3e3ff404bfb903a5b18bee

The anchor from the blockchain API matches the anchor given by the script \o/

AB#8752

 Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.

@eccles eccles merged commit 0a28903 into main Nov 10, 2023
10 checks passed
@eccles eccles deleted the dev/jgough/8752-name-change branch November 10, 2023 14:26
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.

2 participants