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

feat(mu): result pushing endpoint #1093 #1094

Merged
merged 3 commits into from
Dec 20, 2024
Merged

Conversation

VinceJuliano
Copy link
Collaborator

No description provided.

.chain(res => {
if(res?.data?.transactions?.edges?.length >= 1) {
if(res.data.transactions.edges[0].block?.timestamp) {
const oneDayAgo = Date.now() - 24 * 60 * 60 * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

Here you want to use an env var or {BlockHeight == "1572102"}

then compare transaction.edges[0].block?.height > process.env['ALLOW_PUSHES_AFERT'] || "1572085"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok got it resolved in the latest commit

Copy link
Contributor

@twilson63 twilson63 left a comment

Choose a reason for hiding this comment

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

LGTM

@VinceJuliano VinceJuliano merged commit 1d14e9b into main Dec 20, 2024
3 checks passed
@VinceJuliano VinceJuliano deleted the VinceJuliano/mu-push-1093 branch December 20, 2024 18:05
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