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

Initial Block Endpoint (Currently Without ZkApp Command Info) #30

Merged
merged 20 commits into from
Oct 4, 2024

Conversation

harrysolovay
Copy link
Contributor

No description provided.

@harrysolovay
Copy link
Contributor Author

@joaosreis the unspecified test is failing here. Any idea which column is null (ostensibly there is a field of UserCommandMetadata that needs to be wrapped in an Option)?

@joaosreis
Copy link
Member

joaosreis commented Oct 2, 2024

@harrysolovay interesting, because the error mentions column 16, which is either one of the following two which are already of type Option<...>

MinaMesh/src/api/block.rs

Lines 127 to 128 in 659104f

failure_reason: Option<String>,
creation_fee: Option<String>,

Furthermore, I checked the query results for this specific case and in fact the only null fields are these two:

id command_type: CommandType fee_payer_id source_id receiver_id nonce amount fee valid_until memo hash fee_payer source receiver status: TransactionStatus failure_reason creation_fee
7281897 payment 157047 157047 246284 1 5000000000 700100000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5JuXE4Di5iukpkaSRtxaGQtELAKvqMGBGpoXzwdL3n4GztVcxzfr B62qjr9uMoBpvYgxkZbzaPpyHgapQQcynhF6mQ7PcsdfazXzuZF5qQz B62qjr9uMoBpvYgxkZbzaPpyHgapQQcynhF6mQ7PcsdfazXzuZF5qQz B62qrng35bwVsxmHsdqEarNsBVw9Rfspbw6zJgqw4z8KnT98Tnq2Pb4 applied null 1000000000
7281898 payment 127 127 2237 335045 86111 95400000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5Jv4kdHn4siENj51Z2KEZbBpCgXWFaVumSj96z6cUZDJsjL5CPyG B62qoXQhp63oNsLSN9Dy7wcF3PzLmdBnnin2rTnNWLbpgF7diABciU6 B62qoXQhp63oNsLSN9Dy7wcF3PzLmdBnnin2rTnNWLbpgF7diABciU6 B62qkiF5CTjeiuV1HSx4SpEytjiCptApsvmjiHHqkb1xpAgVuZTtR14 applied null null
7281899 payment 157374 157374 15910 67874 92706300000 29500000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5JtbFVebfmsFK43uboNcSZ571MzwukxdjYcRUoQ8bw1rGLR6XGZy B62qouNvgzGaA3fe6G9mKtktCfsEinqj27eqTSvDu4jSKReDEx7A8Vx B62qouNvgzGaA3fe6G9mKtktCfsEinqj27eqTSvDu4jSKReDEx7A8Vx B62qiiBBXKN5CdgXv7wPkXxC1prdzQxwfaTMAi3isAeb9F7gCbzi5dU applied null null
7281900 payment 14144 14144 239291 240598 45000000 24000000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5Jv9kvPF4rSK5qNC2Ceh8ENcmmS7oDeLM3qHEKs1M4NDiXYFTfxd B62qov9yv8TayLteD6SDXvxyYtmn3KkUoozAbs47fVo9JZSpcynbzTz B62qov9yv8TayLteD6SDXvxyYtmn3KkUoozAbs47fVo9JZSpcynbzTz B62qmAg1xD1uvggMxPbqPYJ1TcYRbhzc4bqJzBvG66USJgSwLoCnq3N applied null null
7281901 payment 1430 1430 115038 428029 35000000 21000000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5JuafXQQ4vNkaPDVjUiBaQqxeNTBWpbZ6q3Z8xVEmMtm78X14asP B62qrAWZFqvgJbfU95t1owLAMKtsDTAGgSZzsBJYUzeQZ7dQNMmG5vw B62qrAWZFqvgJbfU95t1owLAMKtsDTAGgSZzsBJYUzeQZ7dQNMmG5vw B62qjdk4R6rjtrJpWypvMcpNMdfyqgxHEAz88UnzbMK4TzELiGbhQ97 applied null null
7281902 payment 1430 1430 239046 428030 35000000 21000000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5JuhGdBfKqnBvemYrg8pc6v9iTEF4srw5oNU1N1VSQrgoEzh3dLv B62qrAWZFqvgJbfU95t1owLAMKtsDTAGgSZzsBJYUzeQZ7dQNMmG5vw B62qrAWZFqvgJbfU95t1owLAMKtsDTAGgSZzsBJYUzeQZ7dQNMmG5vw B62qpEFovh6b6gJxxvpwSDxbztVMyuTLR3uBfeLkZtRbWTzbBKfitYo applied null null
7281903 payment 990 990 24522 299032 90486111 5000000 null E4Yzrn8mezWAuqmaddqRWyGMivPT7pM7uzmheXMDzXiMrngMe9pvv 5JtvytSCH7LU1BK7toLdBp12FffoNcW6XV6zqJj6BrEtwQygTyJm B62qnEeb4KAp9WxdMxddHVtJ8gwfyJURG5BZZ6e4LsRjQKHNWqmgSWt B62qnEeb4KAp9WxdMxddHVtJ8gwfyJURG5BZZ6e4LsRjQKHNWqmgSWt B62qoVxygiYzqRCj4taZDbRJGY6xLvuzoiLdY5CpGm7L9Tz5cj2Qr6i applied null null
7281904 payment 2278 2278 115295 327116 90486111 5000000 null E4Yzrn8mezWAuqmaddqRWyGMivPT7pM7uzmheXMDzXiMrngMe9pvv 5JuZVhYcKJ9VSvsyGjyYVYV47kvEkEUBw4mdR9qbUrE4zoqDXJJJ B62qp69bsgUNySCY2wEYDCrRN3gdMB6cDSZGBucTzc9vUUH4jUoDSED B62qp69bsgUNySCY2wEYDCrRN3gdMB6cDSZGBucTzc9vUUH4jUoDSED B62qnJ3zFub6A17fbHzcixWZbV9a99qdeFfQnQwZABH37NtraiUR2gv applied null null
7281905 payment 2942 2942 115296 341339 90486111 5000000 null E4Yzrn8mezWAuqmaddqRWyGMivPT7pM7uzmheXMDzXiMrngMe9pvv 5Juspbo3Vt1g3NTcy3bxsKvYmzFDrkkAXrx5aR5Fc7HGhG3eixDt B62qnXy1f75qq8c6HS2Am88Gk6UyvTHK3iSYh4Hb3nD6DS2eS6wZ4or B62qnXy1f75qq8c6HS2Am88Gk6UyvTHK3iSYh4Hb3nD6DS2eS6wZ4or B62qqJ1AqK3YQmEEALdJeMw49438Sh6zuQ5cNWUYfCgRsPkduFE2uLU applied null null
7281906 payment 84 84 2237 333753 94486111 1000000 null E4YM2vTHhWEg66xpj52JErHUBU4pZ1yageL4TVDDpTTSsv8mK6YaH 5JuuC8pp9FWJyYrsuH3YDooq1Ba7h7Qm7xCu7BUZZ2s1LGjbf5mz B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg B62qkiF5CTjeiuV1HSx4SpEytjiCptApsvmjiHHqkb1xpAgVuZTtR14 applied null null

@harrysolovay harrysolovay force-pushed the more-work-on-block-endpoint branch from 10eef8f to 9d2e306 Compare October 3, 2024 16:18
@harrysolovay harrysolovay changed the title Functioning Block Endpoint Initial Block Endpoint (Currently Without ZkApp Command Info) Oct 3, 2024
@harrysolovay harrysolovay marked this pull request as ready for review October 3, 2024 16:45
@piotr-iohk piotr-iohk force-pushed the more-work-on-block-endpoint branch from 99d9d77 to 22d85b8 Compare October 4, 2024 07:55
@piotr-iohk piotr-iohk force-pushed the more-work-on-block-endpoint branch from 6c3c43a to 73f1ff4 Compare October 4, 2024 08:10
@harrysolovay harrysolovay merged commit 99ac99e into main Oct 4, 2024
6 checks passed
@harrysolovay harrysolovay deleted the more-work-on-block-endpoint branch October 4, 2024 14:24
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.

3 participants