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

check reference inputs txins on dbsync #1521

Merged

Conversation

saratomaz
Copy link
Collaborator

No description provided.

@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch 3 times, most recently from c0a9dfb to c188e88 Compare December 6, 2022 16:52
@saratomaz saratomaz marked this pull request as ready for review December 6, 2022 16:59
@saratomaz saratomaz requested a review from mkoura December 6, 2022 16:59
cardano_node_tests/utils/dbsync_utils.py Outdated Show resolved Hide resolved
cardano_node_tests/tests/test_scripts.py Outdated Show resolved Hide resolved
@mkoura
Copy link
Collaborator

mkoura commented Apr 21, 2023

Any update on this one?

@saratomaz
Copy link
Collaborator Author

@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch from c188e88 to 4bd6514 Compare May 16, 2023 14:24
@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch from 2931820 to 69961cb Compare May 16, 2023 16:22
@saratomaz saratomaz requested a review from mkoura May 16, 2023 16:27
cardano_node_tests/tests/test_scripts.py Outdated Show resolved Hide resolved
cardano_node_tests/utils/dbsync_utils.py Outdated Show resolved Hide resolved
@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch from 69961cb to e2f10e0 Compare May 24, 2023 10:52
@saratomaz saratomaz requested a review from mkoura May 24, 2023 12:12
@@ -153,6 +155,7 @@ class TxRecord(NamedTuple):
collateral_outputs: List[clusterlib.UTXOData]
reference_inputs: List[clusterlib.UTXOData]
scripts: List[ScriptRecord]
script_txins: List[ScriptRecord]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't reference_scripts be more fitting name?

cluster_obj.g_transaction.get_policyid(script_file=script_file)
)

db_txins_script_hashes = {r.hash for r in response.script_txins if r.hash}
Copy link
Collaborator

Choose a reason for hiding this comment

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

db_reference_script_hashes?

@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch from e2f10e0 to 2097e89 Compare May 29, 2023 14:02
@saratomaz saratomaz force-pushed the check_reference_scripts_inputs_on_dbsync branch from 2097e89 to de8a7a3 Compare May 29, 2023 14:07
@saratomaz saratomaz requested a review from mkoura May 29, 2023 14:16
@mkoura mkoura merged commit 84eb477 into IntersectMBO:master May 30, 2023
3 checks passed
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

2 participants