From 0a1954e85943d730e8c824c3bb17a9c1400a9b38 Mon Sep 17 00:00:00 2001 From: desmond-hui Date: Thu, 20 Jun 2024 08:39:29 -0700 Subject: [PATCH] add test cases --- data/testing__swaps_inner_intermediate_jupiterv6.csv | 7 ++++++- .../v6/silver__swaps_inner_intermediate_jupiterv6.yml | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/data/testing__swaps_inner_intermediate_jupiterv6.csv b/data/testing__swaps_inner_intermediate_jupiterv6.csv index d9a182729..b2c26f0e0 100644 --- a/data/testing__swaps_inner_intermediate_jupiterv6.csv +++ b/data/testing__swaps_inner_intermediate_jupiterv6.csv @@ -11,4 +11,9 @@ Cn7LBvp6iRdg3SMPbRsZx88kVzhDsRXt6EXxpqhH8DpwziLBbDuKh9Ay8cpiHiSRoXX7bVj5ueYtAU4w Cn7LBvp6iRdg3SMPbRsZx88kVzhDsRXt6EXxpqhH8DpwziLBbDuKh9Ay8cpiHiSRoXX7bVj5ueYtAU4wtWeGmFa,2,21,4,ARFysWfdq2s8LC1nWm39HaPtYJXNbT6138T8sJYAJqpM,9vMJfxuKxXBoEa7rM12mYLMwTacLMLDJqHozw96WQL8i,61.727513,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,1.407539,SSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ 4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9,3,5,0,FKK1YBAoyfrg7RcVRhg8QAQ6SridwynMHn1VfsGSqJbo,4cwVHQtwiK7r9aAUsu4cetk1JtLWPymopWcpTSsihCdL,1.41174032,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,3.924970,C1onEW2kPetmHmwe74YC1ESx3LnFEpVau6g2pg4fHycr 4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9,3,10,1,FKK1YBAoyfrg7RcVRhg8QAQ6SridwynMHn1VfsGSqJbo,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,3.924970,So11111111111111111111111111111111111111112,0.028191302,2wT8Yq49kHgDzXuPxZSaeLaH1qbmGXtEyPy64bL7aD3c -4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9,3,14,2,FKK1YBAoyfrg7RcVRhg8QAQ6SridwynMHn1VfsGSqJbo,So11111111111111111111111111111111111111112,0.028191302,26KMQVgDUoB6rEfnJ51yAABWWJND8uMtpnQgsHQ64Udr,540.215186,675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 \ No newline at end of file +4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9,3,14,2,FKK1YBAoyfrg7RcVRhg8QAQ6SridwynMHn1VfsGSqJbo,So11111111111111111111111111111111111111112,0.028191302,26KMQVgDUoB6rEfnJ51yAABWWJND8uMtpnQgsHQ64Udr,540.215186,675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 +5UMtTnzJRZDnKYjM1nnVzU46gnys98EZySiUUkWEaWj2G82D7EhzxQHdPJ6nYDDd5T9dB7KanGQHKwWdXN5KXjGh,6,11,0,DpbCAnke1ubJrvT6meuqijD7FbhBVpYzqMatAAEBrTRy,So11111111111111111111111111111111111111112,9.780663556,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,1628.350049,LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo +5bnJuU5wkckz82WZLDPcA9v6uFwX1QJg7t9pL56cRbLc9VPNYaNKTo2ddRB1AECkSEmoHBYQsjtSLr7dguSGscUc,1,4,0,BLBYiq48WcLQ5SxiftyKmPtmsZPUBEnDEjqEnKGAR4zx,7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr,2.142586566,So11111111111111111111111111111111111111112,0.005840258,675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 +5bnJuU5wkckz82WZLDPcA9v6uFwX1QJg7t9pL56cRbLc9VPNYaNKTo2ddRB1AECkSEmoHBYQsjtSLr7dguSGscUc,1,9,0,BLBYiq48WcLQ5SxiftyKmPtmsZPUBEnDEjqEnKGAR4zx,So11111111111111111111111111111111111111112,0.005840258,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v,0.963540,CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK +3ho3m3EYmWy5T3GPvL83HQw2ntezXYXYiwqhJyV6izFGPUEkRMgtzT9Hp67ftvaXxCpbZH2W4LWTDR55G7DMEAcF,0,4,0,BeePr3RWQL188BfCtzrqngPzYHrJQjNsN4fb2cDP2ivy,So11111111111111111111111111111111111111112,1,EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm,49.119676,LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo +3ho3m3EYmWy5T3GPvL83HQw2ntezXYXYiwqhJyV6izFGPUEkRMgtzT9Hp67ftvaXxCpbZH2W4LWTDR55G7DMEAcF,1,4,0,BeePr3RWQL188BfCtzrqngPzYHrJQjNsN4fb2cDP2ivy,EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm,49.119676,So11111111111111111111111111111111111111112,1.000153095,2wT8Yq49kHgDzXuPxZSaeLaH1qbmGXtEyPy64bL7aD3c \ No newline at end of file diff --git a/models/silver/swaps/jupiter/v6/silver__swaps_inner_intermediate_jupiterv6.yml b/models/silver/swaps/jupiter/v6/silver__swaps_inner_intermediate_jupiterv6.yml index 960b3f89b..6a7cb9855 100644 --- a/models/silver/swaps/jupiter/v6/silver__swaps_inner_intermediate_jupiterv6.yml +++ b/models/silver/swaps/jupiter/v6/silver__swaps_inner_intermediate_jupiterv6.yml @@ -24,7 +24,10 @@ models: - swap_program_id model_condition: "where tx_id in ('4UkpYVPGr5uQnr1Zb7AuUrryF8qFYJvHJqGBVkjgQkJEbxTuR4tgx8NG7t329TbHkSUSUnj7E13c18ZQ6XbDf34T', 'Cn7LBvp6iRdg3SMPbRsZx88kVzhDsRXt6EXxpqhH8DpwziLBbDuKh9Ay8cpiHiSRoXX7bVj5ueYtAU4wtWeGmFa', - '4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9')" + '4ExHEmvVXiXgGCHVWrfD8cshnQA3GvV84dTGbSsoXBr9NZHAoEDMHKiT8jY44AreyAkorc34UyNamJjKWbPgQQv9', + '5UMtTnzJRZDnKYjM1nnVzU46gnys98EZySiUUkWEaWj2G82D7EhzxQHdPJ6nYDDd5T9dB7KanGQHKwWdXN5KXjGh', + '5bnJuU5wkckz82WZLDPcA9v6uFwX1QJg7t9pL56cRbLc9VPNYaNKTo2ddRB1AECkSEmoHBYQsjtSLr7dguSGscUc', + '3ho3m3EYmWy5T3GPvL83HQw2ntezXYXYiwqhJyV6izFGPUEkRMgtzT9Hp67ftvaXxCpbZH2W4LWTDR55G7DMEAcF')" recent_date_filter: &recent_date_filter config: where: _inserted_timestamp >= current_date - 7