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

Abf/fix #585

Merged
merged 3 commits into from
Feb 20, 2024
Merged

Abf/fix #585

merged 3 commits into from
Feb 20, 2024

Conversation

arnaubennassar
Copy link
Member

No description provided.

@cla-bot cla-bot bot added the cla-signed label Feb 20, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Comment on lines +226 to +244
const getClaimSQLOriginMainnetDestRollup = `
SELECT index, orig_net, orig_addr, amount, dest_addr, block_id, network_id, tx_hash, rollup_index
FROM sync.claim
WHERE index = $1 AND network_id = $2 AND NOT mainnet_flag AND rollup_index + 1 = $3;
`
const getClaimSQLOriginMainnetDestMainnet = `
SELECT index, orig_net, orig_addr, amount, dest_addr, block_id, network_id, tx_hash, rollup_index
FROM sync.claim
WHERE index = $1 AND network_id = $2 AND NOT mainnet_flag AND rollup_index + 1 = $3;
`
const getClaimSQLOriginRollupDestMainnet = `
SELECT index, orig_net, orig_addr, amount, dest_addr, block_id, network_id, tx_hash, rollup_index
FROM sync.claim
WHERE index = $1 AND network_id = $2 AND mainnet_flag;
`
const getClaimSQLOriginRollupDestRollup = `
SELECT index, orig_net, orig_addr, amount, dest_addr, block_id, network_id, tx_hash, rollup_index
FROM sync.claim
WHERE index = $1 AND network_id = $2 AND NOT mainnet_flag AND rollup_index + 1 = $3;

Choose a reason for hiding this comment

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

Remove duplicate

@vcastellm vcastellm merged commit f2c1706 into vcastellm/fix-sync Feb 20, 2024
4 of 7 checks passed
@vcastellm vcastellm deleted the abf/fix branch February 20, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants