diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b19007a6..99484433 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -108,6 +108,6 @@ jobs: run: | cd programs/marginfi cargo install cargo-fuzz - cargo fuzz run lend -- -max_total_time=300 + cargo fuzz run lend -Zbuild-std --strip-dead-code --no-cfg-fuzzing -- -max_total_time=300 - name: Pass after fuzzing run: echo "Fuzzing completed" diff --git a/Cargo.lock b/Cargo.lock index 4b2ed5e4..41227919 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4788,9 +4788,9 @@ dependencies = [ [[package]] name = "solana-account-decoder" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8ea963f393c09376f21f7f5217d5701a18d65c821a68337188b6cf9c1255db" +checksum = "815b7eeb8cfc0cc27c3500658845bc0adbfb51a9212814af522f4912e1bdab2e" dependencies = [ "Inflector", "base64 0.21.5", @@ -4813,9 +4813,9 @@ dependencies = [ [[package]] name = "solana-address-lookup-table-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c284096b2d4595b13f61004142c6caff4f3dc40ba77dbd5f4071d67c256e15c" +checksum = "9137f2199f70e082f15f91076f31fa6e67d98d40168de759feab12c6b60542a8" dependencies = [ "bincode", "bytemuck", @@ -4834,9 +4834,9 @@ dependencies = [ [[package]] name = "solana-banks-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5038a75bf3b69aa376d9ccdcda833f96d4c470e2c34873c01e4c8c5e1ada9fbf" +checksum = "785bca4464357f3d7aad38b3f57b1dcec5fc47f7eb3e0c1ffba907ce15aae66c" dependencies = [ "borsh 0.10.3", "futures", @@ -4851,9 +4851,9 @@ dependencies = [ [[package]] name = "solana-banks-interface" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b622b51b32a21d92793139786d72942e203c97c44cfaad8565bc535d193c821" +checksum = "cb13f6fff944f56df1c5b4bb708676efb856991bc368c969c436cc444e6f5e83" dependencies = [ "serde", "solana-sdk", @@ -4862,9 +4862,9 @@ dependencies = [ [[package]] name = "solana-banks-server" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb55e9479e7dc986c07d44139be9b61e1ff388a84049a2ba4489f4502b7c573" +checksum = "893926dda1a8d1594b55b753298df54fb9ed9ed1e802cac69ad3a225b7cdc63e" dependencies = [ "bincode", "crossbeam-channel", @@ -4881,9 +4881,9 @@ dependencies = [ [[package]] name = "solana-bpf-loader-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a82a9d6cf1ae723b24684d5f076647cc34a31176256be664811b589522c104" +checksum = "eb0ed3691420f8ca6c7d58eb1335ecb0b73b1b6188039b7b631bcd0253b24377" dependencies = [ "bincode", "byteorder", @@ -4900,9 +4900,9 @@ dependencies = [ [[package]] name = "solana-bucket-map" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ba5e2e6284e2892e2afcf0b4187e31f2365969fe23bdb21b1d6607f6a65d8e0" +checksum = "33b64e2a282391cffdd2985971abf571922fd58db5f2743014f8a0428f719af2" dependencies = [ "bv", "log", @@ -4917,9 +4917,9 @@ dependencies = [ [[package]] name = "solana-clap-utils" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4371b20d9dff6a0e769cd103385e7c257d511efec11efd94c65ab52a39255e2" +checksum = "6a99a1aa397ec62a9b10f2f072fb95d78c6f4303bbca11d6af5f3f198e3d62e8" dependencies = [ "chrono", "clap 2.34.0", @@ -4935,9 +4935,9 @@ dependencies = [ [[package]] name = "solana-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ee4db75f979886731e603f7bd22eeb3386cd1477a7592931e21623326da83b" +checksum = "8dd1d1b50f6937ec5b7b05faa171956dc052ad593d058de5046e325cc0ec4c23" dependencies = [ "async-trait", "bincode", @@ -4968,9 +4968,9 @@ dependencies = [ [[package]] name = "solana-compute-budget-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c3848a6ca835bc625e85456b52ef0232ee709bbf00602760aa37caf108da0e9" +checksum = "674cbca707a6a38dc860cef40b988debb24e0347a04cd123bd2b05cb6f75eed4" dependencies = [ "solana-program-runtime", "solana-sdk", @@ -4978,9 +4978,9 @@ dependencies = [ [[package]] name = "solana-config-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9df684ad70f3e3cb716a085652b545a64dfbc9299c59f768112ec69d4f4392" +checksum = "7448528e2fd237e7d7ca93d4d8541a8a9f346b9f947405799d9a6dd5c22aa41c" dependencies = [ "bincode", "chrono", @@ -4992,9 +4992,9 @@ dependencies = [ [[package]] name = "solana-connection-cache" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58c2e8007f2fd5ae0302ccaa7df72bdb6b1b40fd9f4b6c67f5e928dc58d9f35" +checksum = "6a51fe3a80fc59a93392a103e6ab492305a6ac614abee70cde6e34fe74fc55dd" dependencies = [ "async-trait", "bincode", @@ -5013,9 +5013,9 @@ dependencies = [ [[package]] name = "solana-frozen-abi" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab680d7d65fcecdea832cadb063fc3898121bc56cab15aee54f2c5db71af535" +checksum = "ee8e68a37635d475c40f026bfbc39df3298ce91ec0f4db848979b1dbcd9bc675" dependencies = [ "ahash 0.8.6", "blake3", @@ -5046,9 +5046,9 @@ dependencies = [ [[package]] name = "solana-frozen-abi-macro" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b02411fefc004154edf3fe61cedb1dfb26ef82b659148b0a4b21ce3184d40ebc" +checksum = "07ea45edfe53a4d95f18bd627f1b60e200611a436afd0c58c9c529c085af8965" dependencies = [ "proc-macro2 1.0.70", "quote 1.0.33", @@ -5058,9 +5058,9 @@ dependencies = [ [[package]] name = "solana-loader-v4-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "887616220cf85b6fa5181e381de1ecae09b5b19e3bb5f939fcc807d01b0cf64b" +checksum = "4091f5bc56ecd65473ad5ae4f0bae43a5ea26b916a824eaf74909ed0b0154a7d" dependencies = [ "log", "rand 0.7.3", @@ -5072,9 +5072,9 @@ dependencies = [ [[package]] name = "solana-logger" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7f0c4504c512f93aed16fb07449cafa5fa0c54ef7cfff6f377b2a5ed34553" +checksum = "9db83d89279b0620958ae1278fd52f340c68be79980a5f6ebfb3d4e4623d7241" dependencies = [ "env_logger", "lazy_static", @@ -5083,9 +5083,9 @@ dependencies = [ [[package]] name = "solana-measure" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceb54a32ad5125ed514c058639ac86508efcffc2412f713e3140eb70291d9843" +checksum = "8f6745b818b9d2d88b0011ac5532e3dcd4cde0bd1613464ee1bcb98db423ab97" dependencies = [ "log", "solana-sdk", @@ -5093,9 +5093,9 @@ dependencies = [ [[package]] name = "solana-metrics" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef674e1c16731541af6f58515ebdae519f68d374a3018675dc9ee3480b4a640e" +checksum = "d5b3782e709a4546a77354e6b0fbc176a34f19b420e65c0d9c9c48f93459fbab" dependencies = [ "crossbeam-channel", "gethostname", @@ -5107,9 +5107,9 @@ dependencies = [ [[package]] name = "solana-net-utils" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a39ab5b49d50c50411fe1990b097458dd3d23aee1753db9b13f69a2f946409f5" +checksum = "d2ea302ba1a7186826fecace83da4adce9b288e97ea370999a9aee2bfc71129b" dependencies = [ "bincode", "clap 3.2.25", @@ -5129,9 +5129,9 @@ dependencies = [ [[package]] name = "solana-perf" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "710431ce6bc8a070c3b54999f9602b8b4c94358836615e89e357114ea0ae1fe5" +checksum = "42a5d5de014354c112349667c51f80ce01bca0c6b0bfa027cbc069e972c1c0c7" dependencies = [ "ahash 0.8.6", "bincode", @@ -5156,9 +5156,9 @@ dependencies = [ [[package]] name = "solana-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf18ad0e74ce21123eb94c45d8b469d280a6a3e4f1bf6411fc4ca8fc7c2eac" +checksum = "2560d24192b60301c1219c054a34bcd9d9723bb64ec9b5b987882d86c32868e6" dependencies = [ "ark-bn254", "ark-ec", @@ -5211,9 +5211,9 @@ dependencies = [ [[package]] name = "solana-program-runtime" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9e3ff03078645ddd91e2a3eb2d58a90a5a6c9d7e8c2b9c2b3511f24ea03b711" +checksum = "1726697292d3f551898537f921749352e965510a9cfe7e7b2ff7f1a0fcc6e1db" dependencies = [ "base64 0.21.5", "bincode", @@ -5239,9 +5239,9 @@ dependencies = [ [[package]] name = "solana-program-test" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f8acba3bbd61900eab9b2fb6071aece12f083b8c77a600c741f88d1de1e37c7" +checksum = "c66d071392c72f4e12527fa5e13e9ab9bd23a785eda1331a597277ee8f8c0800" dependencies = [ "assert_matches", "async-trait", @@ -5266,9 +5266,9 @@ dependencies = [ [[package]] name = "solana-pubsub-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c7d115473531dbc447989e3e6eb24a418bf3c0b7ffb86da17c4a1271d1ce553" +checksum = "f134152897fe6d3fad3da9945ae452dfc6c2d71465ddce1ad8a423d54ad38bee" dependencies = [ "crossbeam-channel", "futures-util", @@ -5291,9 +5291,9 @@ dependencies = [ [[package]] name = "solana-quic-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca1af43f5b44321e2a5f48798d07ade968c7d95c3191ef2f8e167a481ed4d37" +checksum = "409c0182a32bb11acdf84c96361cff4628e93e7e8b293a8cc43e5ef354ffa46a" dependencies = [ "async-mutex", "async-trait", @@ -5319,9 +5319,9 @@ dependencies = [ [[package]] name = "solana-rayon-threadlimit" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb5a290bb5b316654d165326c1ed22cf15a40559523824097308913cce2dcad7" +checksum = "8ce5c2d7f4e92580e6dd18877f0cd5f152e662dbda9c2eed69d29ae9a6f6e5d0" dependencies = [ "lazy_static", "num_cpus", @@ -5329,9 +5329,9 @@ dependencies = [ [[package]] name = "solana-remote-wallet" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a082793597a5467271d35cbee5e3782e42a0b52849521f293b6bc07f9514d018" +checksum = "2a9e49486e3f31009cfd24869de318e0fac261257f0e87e6f692e0bbf6a053b6" dependencies = [ "console", "dialoguer", @@ -5348,9 +5348,9 @@ dependencies = [ [[package]] name = "solana-rpc-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6ed31f6dd0546a92daf7493c94b602e6c06e59b474d5a81559ff88d6d3e8afa" +checksum = "336cdd2dbb4dcfdb7c905eb45fdd32de30f594b12f00d894160a8e4d12fc76a3" dependencies = [ "async-trait", "base64 0.21.5", @@ -5374,9 +5374,9 @@ dependencies = [ [[package]] name = "solana-rpc-client-api" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e846fb99c6aa3d044cb556f40156a585dd3f4cb1e416b5b8319028d3f731b6a8" +checksum = "b0cc64f5092d9c3e0bbfbd459689ffc17617b9f52773ffb7e26a2483a33d5ace" dependencies = [ "base64 0.21.5", "bs58 0.4.0", @@ -5396,9 +5396,9 @@ dependencies = [ [[package]] name = "solana-rpc-client-nonce-utils" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc5ac3f71c723bf061e684c1bcf9be29b99d07fd6be54cf9e12f1cc1629d4f74" +checksum = "2c54440695e2a3b14749b52f2021172aeb2387f8bd95f4e0cc2f97e5d27b5ea4" dependencies = [ "clap 2.34.0", "solana-clap-utils", @@ -5409,11 +5409,12 @@ dependencies = [ [[package]] name = "solana-runtime" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d71be24fb92a986c08ab76cf9b19f4bd2c13879a5d41c5e0b1ac89a888818bd" +checksum = "63578440eb0526fc3b3155be56c33dec115d8739e0964ec563a8ae8c80b4ffd2" dependencies = [ "arrayref", + "base64 0.21.5", "bincode", "blake3", "bv", @@ -5447,6 +5448,7 @@ dependencies = [ "rustc_version", "serde", "serde_derive", + "serde_json", "solana-address-lookup-table-program", "solana-bpf-loader-program", "solana-bucket-map", @@ -5463,6 +5465,7 @@ dependencies = [ "solana-sdk", "solana-stake-program", "solana-system-program", + "solana-version", "solana-vote-program", "solana-zk-token-proof-program", "solana-zk-token-sdk", @@ -5478,9 +5481,9 @@ dependencies = [ [[package]] name = "solana-sdk" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6aea1e7067980ca1ef57a31c498413547b82aa392d9e7ec5539968f1a8dec1c" +checksum = "97fc9581f8345a67da71386274084d9a2e35f25689871ad644f5992c786df7c7" dependencies = [ "assert_matches", "base64 0.21.5", @@ -5531,9 +5534,9 @@ dependencies = [ [[package]] name = "solana-sdk-macro" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbca599523925e4c55e0326d93eef0a8e1918df5f93897811abf3f5972e21bec" +checksum = "6d749979b74d6ca1d8b0f1da1d0333332cfac425a34d71ed1149cccc322e0533" dependencies = [ "bs58 0.4.0", "proc-macro2 1.0.70", @@ -5544,9 +5547,9 @@ dependencies = [ [[package]] name = "solana-send-transaction-service" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65a5eee49584069aa83aea56989dd8ffb6292820935ccac980154137c616c9d3" +checksum = "a9dad2cb6f9462e7e1c9900df76b9ad601b199aab3d26855d28bf8494698def3" dependencies = [ "crossbeam-channel", "log", @@ -5560,9 +5563,9 @@ dependencies = [ [[package]] name = "solana-stake-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8eede17e69ef169c80ac242771a6d881aad551d0249e03d4e9fd134b99668b" +checksum = "0ec54610fafa934717e90e8ab0774867b054d4c3852b5ca24d5947edf14a61e1" dependencies = [ "bincode", "log", @@ -5575,9 +5578,9 @@ dependencies = [ [[package]] name = "solana-streamer" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2147a8042ec522d31a5ec67ef06000d7c4d528d7ce49a2e5225687fb5ad08ea8" +checksum = "c4a848b9b56af99988e6273ccf79f2bd816633dc3da9ea0eb4488a5b0f8ec820" dependencies = [ "async-channel", "bytes", @@ -5608,9 +5611,9 @@ dependencies = [ [[package]] name = "solana-system-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928cd38da3bfcda176df102a0b88e7e54ab723c2d6b6c289c3ccfd5de9a72a9f" +checksum = "a427a441f95ee0b9d8e2065a2978d86142c6fa40cbdccd1de724f77b6cc885af" dependencies = [ "bincode", "log", @@ -5622,9 +5625,9 @@ dependencies = [ [[package]] name = "solana-thin-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8af1069859646695b53b88cf071ba3c2ce49f0fbe9b19014440676e1869704f5" +checksum = "5db5ba7eddcc0cefc3c5c116387097cb81bb13d7598fbdb3b40c5a964105e879" dependencies = [ "bincode", "log", @@ -5637,9 +5640,9 @@ dependencies = [ [[package]] name = "solana-tpu-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9bc57c809b5ee98570bd0981c3ecce339d4053f8473ab2d57a9487ad3aea5af" +checksum = "0bdf56494fd1b509c5428f969a10e4e0865b3eaf40aac1640c8f72dac3112b89" dependencies = [ "async-trait", "bincode", @@ -5662,9 +5665,9 @@ dependencies = [ [[package]] name = "solana-transaction-status" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f225ca544e1005918608bfe67f97c1cfdfe43bb6ab41e0bd77491258a7e5e8f8" +checksum = "5d3c52eaa1977b0121a099243de4b5b44de936e67869d3298400fb6e974a2f7b" dependencies = [ "Inflector", "base64 0.21.5", @@ -5688,9 +5691,9 @@ dependencies = [ [[package]] name = "solana-udp-client" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be1dbf725b5e31863f34553c1333e8d8e098c6259bbed433630022aa59e9a175" +checksum = "1225fb057b8b5e5aa5b0ee01b974e6ef2c6f01727dfd217c23b89b6547a8b17b" dependencies = [ "async-trait", "solana-connection-cache", @@ -5703,9 +5706,9 @@ dependencies = [ [[package]] name = "solana-version" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc8ac5da4f0044a857cb35bf0a146e76400541fce72f0638b9377fd368cf2da0" +checksum = "32f7b09ffc8f5446bee6ee1ab4ce4c98504d23222313de1d0ed762f736a3ffe3" dependencies = [ "log", "rustc_version", @@ -5719,9 +5722,9 @@ dependencies = [ [[package]] name = "solana-vote-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3c171647345a050eaf80846d99f888c55c2bcbdd0297dfae38597950ca6054" +checksum = "2be239ebe1d73af268ce9ba5111ce9595a430aa98576105e87b00e92a5ef2a0b" dependencies = [ "bincode", "log", @@ -5741,9 +5744,9 @@ dependencies = [ [[package]] name = "solana-zk-token-proof-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8aa1eaabde9121fef99e1419c6a14b0a75bf1299472180a844eaa2a1d94fb99" +checksum = "1a813c2c577b9eb24b62d7149d1e5340425f55650f3ff6a01eb2ded828a95774" dependencies = [ "bytemuck", "getrandom 0.1.16", @@ -5756,9 +5759,9 @@ dependencies = [ [[package]] name = "solana-zk-token-sdk" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d5a0aa72c38c45b134e6fc008569fe1b0882c7cff5fceb7e42c0406925d3e5" +checksum = "fc4b0547480462cfec9dddaa8adcf2fa7c8b022021738bf71c790c0c7be54a34" dependencies = [ "aes-gcm-siv", "base64 0.21.5", @@ -7548,8 +7551,8 @@ dependencies = [ [[package]] name = "yellowstone-grpc-client" -version = "1.12.0+solana.1.16.19" -source = "git+https://github.com/rpcpool/yellowstone-grpc.git?rev=8b8618dd19d70ed58b942021768d826e31408cd8#8b8618dd19d70ed58b942021768d826e31408cd8" +version = "1.12.0+solana.1.16.23" +source = "git+https://github.com/rpcpool/yellowstone-grpc.git?rev=a2cd1498ac64baa1017d4a4cdefbf46100215b4c#a2cd1498ac64baa1017d4a4cdefbf46100215b4c" dependencies = [ "bytes", "futures", @@ -7562,8 +7565,8 @@ dependencies = [ [[package]] name = "yellowstone-grpc-proto" -version = "1.11.0+solana.1.16.19" -source = "git+https://github.com/rpcpool/yellowstone-grpc.git?rev=8b8618dd19d70ed58b942021768d826e31408cd8#8b8618dd19d70ed58b942021768d826e31408cd8" +version = "1.11.0+solana.1.16.23" +source = "git+https://github.com/rpcpool/yellowstone-grpc.git?rev=a2cd1498ac64baa1017d4a4cdefbf46100215b4c#a2cd1498ac64baa1017d4a4cdefbf46100215b4c" dependencies = [ "anyhow", "bincode", diff --git a/Cargo.toml b/Cargo.toml index fcec812b..b7c13dce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,18 @@ [workspace] +resolver = "2" members = ["programs/*", "clients/rust/*", "tools/*", "observability/indexer"] exclude = ["programs/brick"] [workspace.dependencies] -solana-client = "=1.16.19" -solana-sdk = "=1.16.19" -solana-logger = "=1.16.19" -solana-program = "=1.16.19" -solana-program-test = "=1.16.19" -solana-account-decoder = "=1.16.19" -solana-measure = "=1.16.19" -solana-metrics = "=1.16.19" -solana-transaction-status = "=1.16.19" +solana-client = "1.16.23" +solana-sdk = "1.16.23" +solana-logger = "1.16.23" +solana-program = "1.16.23" +solana-program-test = "1.16.23" +solana-account-decoder = "1.16.23" +solana-measure = "1.16.23" +solana-metrics = "1.16.23" +solana-transaction-status = "1.16.23" spl-token = "4.0.0" spl-associated-token-account = "2.2.0" diff --git a/observability/indexer/Cargo.toml b/observability/indexer/Cargo.toml index 8f6d16b1..afbdcc03 100644 --- a/observability/indexer/Cargo.toml +++ b/observability/indexer/Cargo.toml @@ -34,8 +34,8 @@ google-cloud-pubsub = { git = " https://github.com/mrgnlabs/google-cloud-rust.gi google-cloud-gax = { git = " https://github.com/mrgnlabs/google-cloud-rust.git", rev = "3f651f2d9fd8cca547bb11490d2575d9bf90f994" } google-cloud-googleapis = { git = " https://github.com/mrgnlabs/google-cloud-rust.git", rev = "3f651f2d9fd8cca547bb11490d2575d9bf90f994", features = ["bytes", "pubsub"] } yup-oauth2 = "8.3.0" -yellowstone-grpc-client = { git = "https://github.com/rpcpool/yellowstone-grpc.git", rev = "8b8618dd19d70ed58b942021768d826e31408cd8" } -yellowstone-grpc-proto = { git = "https://github.com/rpcpool/yellowstone-grpc.git", rev = "8b8618dd19d70ed58b942021768d826e31408cd8" } +yellowstone-grpc-client = { git = "https://github.com/rpcpool/yellowstone-grpc.git", rev = "a2cd1498ac64baa1017d4a4cdefbf46100215b4c" } +yellowstone-grpc-proto = { git = "https://github.com/rpcpool/yellowstone-grpc.git", rev = "a2cd1498ac64baa1017d4a4cdefbf46100215b4c" } fixed = "1.12.0" fixed-macro = "1.2.0" dotenv = "0.15.0" diff --git a/programs/marginfi/fuzz/Cargo.lock b/programs/marginfi/fuzz/Cargo.lock index 98552d30..39b2c760 100644 --- a/programs/marginfi/fuzz/Cargo.lock +++ b/programs/marginfi/fuzz/Cargo.lock @@ -2166,9 +2166,9 @@ checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" [[package]] name = "solana-frozen-abi" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab680d7d65fcecdea832cadb063fc3898121bc56cab15aee54f2c5db71af535" +checksum = "ee8e68a37635d475c40f026bfbc39df3298ce91ec0f4db848979b1dbcd9bc675" dependencies = [ "ahash 0.8.6", "blake3", @@ -2199,9 +2199,9 @@ dependencies = [ [[package]] name = "solana-frozen-abi-macro" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b02411fefc004154edf3fe61cedb1dfb26ef82b659148b0a4b21ce3184d40ebc" +checksum = "07ea45edfe53a4d95f18bd627f1b60e200611a436afd0c58c9c529c085af8965" dependencies = [ "proc-macro2", "quote", @@ -2211,9 +2211,9 @@ dependencies = [ [[package]] name = "solana-logger" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c7f0c4504c512f93aed16fb07449cafa5fa0c54ef7cfff6f377b2a5ed34553" +checksum = "9db83d89279b0620958ae1278fd52f340c68be79980a5f6ebfb3d4e4623d7241" dependencies = [ "env_logger", "lazy_static", @@ -2222,9 +2222,9 @@ dependencies = [ [[package]] name = "solana-program" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedf18ad0e74ce21123eb94c45d8b469d280a6a3e4f1bf6411fc4ca8fc7c2eac" +checksum = "2560d24192b60301c1219c054a34bcd9d9723bb64ec9b5b987882d86c32868e6" dependencies = [ "ark-bn254", "ark-ec", @@ -2277,9 +2277,9 @@ dependencies = [ [[package]] name = "solana-sdk" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6aea1e7067980ca1ef57a31c498413547b82aa392d9e7ec5539968f1a8dec1c" +checksum = "97fc9581f8345a67da71386274084d9a2e35f25689871ad644f5992c786df7c7" dependencies = [ "assert_matches", "base64 0.21.5", @@ -2330,9 +2330,9 @@ dependencies = [ [[package]] name = "solana-sdk-macro" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbca599523925e4c55e0326d93eef0a8e1918df5f93897811abf3f5972e21bec" +checksum = "6d749979b74d6ca1d8b0f1da1d0333332cfac425a34d71ed1149cccc322e0533" dependencies = [ "bs58 0.4.0", "proc-macro2", @@ -2343,9 +2343,9 @@ dependencies = [ [[package]] name = "solana-zk-token-sdk" -version = "1.16.19" +version = "1.16.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d5a0aa72c38c45b134e6fc008569fe1b0882c7cff5fceb7e42c0406925d3e5" +checksum = "fc4b0547480462cfec9dddaa8adcf2fa7c8b022021738bf71c790c0c7be54a34" dependencies = [ "aes-gcm-siv", "base64 0.21.5", diff --git a/programs/marginfi/fuzz/Cargo.toml b/programs/marginfi/fuzz/Cargo.toml index 103bec8c..f38c5966 100644 --- a/programs/marginfi/fuzz/Cargo.toml +++ b/programs/marginfi/fuzz/Cargo.toml @@ -7,9 +7,15 @@ edition = "2021" [package.metadata] cargo-fuzz = true +[[bin]] +name = "lend" +path = "fuzz_targets/lend.rs" +test = false +doc = false + [dependencies] -solana-sdk = "=1.16.19" -solana-program = "=1.16.19" +solana-sdk = "1.16.23" +solana-program = "1.16.23" spl-token = "4.0.0" anchor-lang = "0.28.0" @@ -43,9 +49,3 @@ members = ["."] [profile.release] debug = 1 - -[[bin]] -name = "lend" -path = "fuzz_targets/lend.rs" -test = false -doc = false diff --git a/programs/marginfi/fuzz/fuzz_targets/lend.rs b/programs/marginfi/fuzz/fuzz_targets/lend.rs index 838816a9..bd370ec1 100644 --- a/programs/marginfi/fuzz/fuzz_targets/lend.rs +++ b/programs/marginfi/fuzz/fuzz_targets/lend.rs @@ -71,7 +71,7 @@ pub struct FuzzerContext { pub initial_bank_configs: [BankAndOracleConfig; N_BANKS], } -fuzz_target!(|data: FuzzerContext| { process_actions(data).unwrap() }); +fuzz_target!(|data: FuzzerContext| process_actions(data).unwrap()); fn process_actions(ctx: FuzzerContext) -> Result<()> { let mut accounst_state = AccountsState::new();