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

chore: migrated code to yaci-store rc1, updated pom, increased jdk ve… #47

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

Conversation

nemo83
Copy link
Contributor

@nemo83 nemo83 commented Mar 8, 2024

…rsion and spring boot version

@@ -33,8 +33,8 @@ management:

store:
cardano:
host: ${REMOTE_NODE_URL:relays-new.cardano-mainnet.iohk.io}
port: ${REMOTE_NODE_PORT:3001}
host: ${REMOTE_NODE_URL:192.168.68.113}
Copy link
Contributor

Choose a reason for hiding this comment

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

we may not want to check this in

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dang, this was an unwanted change, I was testing against my local node 🤦

pom.xml Outdated
@@ -132,6 +137,22 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!-- <plugin>-->
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

deleted

}

@Override
public int deleteBySlotGreaterThan(Long slot) {
public void saveSpent(List<TxInput> txInputs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the value of overwriting the same thing from the parent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

None, it was just a leftover from live coding, good catch

adaHandleHistoryService.rollbackToSlot(slot);
return super.deleteBySlotGreaterThan(slot);
return super.deleteUnspentBySlotGreaterThan(slot);
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the value of overwriting the same thing from the parent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in this case you need both your custom code and the default code.

Indexer saves both set of relevant utxos following the default yaci-storage workflow and custom data.

Copy link
Contributor

Choose a reason for hiding this comment

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

I still don't get it. You can delete this method and upper class will take care of things.

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