Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
deps: update alloy (#108)
Browse files Browse the repository at this point in the history
* deps: updated alloy

* imp: fixed alloy complaints

* fix: fixed programs

* fix: all compilation errors fixed

* deps: updated ibc-rs

* Revert "deps: updated ibc-rs"

This reverts commit 0bb1fb1.

* imp: patched ecdsa in case needed

* deps: added curve25519-dalek precompile

* imp: regenerated fixtures
  • Loading branch information
srdtrk authored Oct 3, 2024
1 parent f2b8ed8 commit 0c68154
Show file tree
Hide file tree
Showing 26 changed files with 420 additions and 260 deletions.
487 changes: 315 additions & 172 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ibc-core-commitment-types = { version = "0.54", default-features = false }
# Other dependencies
serde = { version = "1.0", default-features = false }
sha2 = { version = "0.10", default-features = false }
alloy-sol-types = "0.7"
alloy-sol-types = "0.8"
serde_cbor = "0.11"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

Expand All @@ -67,10 +67,10 @@ ibc-core-host-cosmos = { version = "0.54", default-features = false }
reqwest = { version = "0.12", features = ["json"] }
tokio = { version = "1", features = ["full"] }
time = { version = "0.3", default-features = false, features = ["macros", "parsing"] }
alloy-primitives = "0.7"
alloy-contract = "0.2"
alloy-node-bindings = "0.2"
alloy = "0.2"
alloy-primitives = "0.8"
alloy-contract = "0.4"
alloy-node-bindings = "0.4"
alloy = "0.4"
bincode = "1.3"
dotenv = "0.15"
subtle-encoding = "0.5"
Expand All @@ -87,5 +87,7 @@ serde_with = { version = "3.9", features = ["hex"] }
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-v0.9.8" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-v0.10.8" }
ed25519-consensus = { git = "https://github.com/sp1-patches/ed25519-consensus", branch = "patch-v2.1.0" }
ecdsa = { git = "https://github.com/sp1-patches/signatures", branch = "patch-ecdsa-v0.16.9" }
curve25519-dalek-ng = { git = "https://github.com/sp1-patches/curve25519-dalek-ng", branch = "patch-v4.1.1" }
curve25519-dalek = { git = "https://github.com/sp1-patches/curve25519-dalek", branch = "patch-curve25519-v4.1.3" }
tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", branch = "patch-v2.0.2" }
16 changes: 8 additions & 8 deletions contracts/fixtures/memberships_fixture.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"trustedClientState": "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000002b3b94000000000000000000000000000000000000000000000000000000000012750000000000000000000000000000000000000000000000000000000000001baf80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000076d6f6368612d3400000000000000000000000000000000000000000000000000",
"trustedConsensusState": "0000000000000000000000000000000000000000000000000000000066fd984ad2bb91ba3b0ad4ce3a7e28abe5f13e61c3388bc45c0b49f1817520f909f908fc0737a627544ee53ab06349115f509d4bd5725cc361486e739231bc91ea8a4904",
"updateClientVkey": "0x003fde0564a8cee495b2274aa0e0ed69fd65412ab21907dde520840257249685",
"membershipVkey": "0x00ee65bcb0c1b30d7f58178a06aae92df999ef24f9c65e48676b7f5777cceb00",
"ucAndMembershipVkey": "0x00ecbbe33253fbe1b537666b91100993fc2d4f30e55323cf7ad8f86bbdef5b27",
"misbehaviourVkey": "0x008518279004cc25e793502455e244b3905e4abc0f894116727c820e765160b3",
"proofHeight": "000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000002b3b94",
"membershipProof": "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000066fd984ad2bb91ba3b0ad4ce3a7e28abe5f13e61c3388bc45c0b49f1817520f909f908fc0737a627544ee53ab06349115f509d4bd5725cc361486e739231bc91ea8a490400ee65bcb0c1b30d7f58178a06aae92df999ef24f9c65e48676b7f5777cceb00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000020d2bb91ba3b0ad4ce3a7e28abe5f13e61c3388bc45c0b49f1817520f909f908fc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000369626300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023636c69656e74732f30372d74656e6465726d696e742d302f636c69656e745374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b70a2b2f6962632e6c69676874636c69656e74732e74656e6465726d696e742e76312e436c69656e7453746174651287010a1174686574612d746573746e65742d3030311204080110031a040880840722040880c60a2a02082832003a0510b7e3c60842190a090801180120012a0100120c0a02000110211804200c300142190a090801180120012a0100120c0a02000110201801200130014a07757067726164654a10757067726164656449424353746174655001580100000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000369626300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025636c69656e74732f30372d74656e6465726d696e742d3030312f636c69656e745374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003644aca240a1822ba4286911b3b9d6c7bd458bc5670cd2f2ca1323f9a0ed32185142d9ce4522d87ec7d4bb3ce4663607b2bca380c70d49b2c083269b73d5f01bd9f73b3b3370584258888f596c87020a50c9091775a7faf7d8576e3432f1c9b7ccbfeaa08bd15f3b88bc93af7961855cf1c2ee30198c21e82f70d4b067e7a4545634025000e2282eea92fc8b0e2f55727dbdef561cbf7cdf00719582d96ea561566fdb5509c1ff9969bbd07faafc270ea79f42f918b47ba4dc4d52239987ef392ed7204e100056744db49d0adc2602c1b747474238fe6d5f8f0b6bc49c757b4352ba038f371215ba796c2d288fe9bb9dd5742b46e1c339b52f81aede442b6e31cd4e58b14062861fb280691e8cdffda6ec707e41d58df3a583efd75bb50b61729b5b49f7486107da5a14b3a2581d117d00fb11cceaac3546b6a36ac1eb4f826f14c5e367ddb075c2e092d4a6e1573d5715dbc16b2ed990d681d3c9955e481c2b07870bb0b7607263554dd1f53dd37314fb67393570995265f783b422adef0252c6c6832342d1f6743284f84fd3c20b4b52e051d7f2a8986d6b7cf9dc39e447c440e9de8c43e108ac4ee758c3fcae64ddaba5807eafa79ba00440f6981fd70c4b5f95d47870822e9be09e484b3fc16a30b256fde095de8008d91d44eb178b57af0618efef7551ea49dc1897e6cbc09396b633a075597dd08d08e05b52f5a1bdda493f9c0ae7509a8bcce413910686e204a7d8ecde23ccc3d90084eb9a65ff4e231354d5d372006234b87711e269ca349053dd9e52a1f03d4d3e6ddb9fc8362f20ad7b6ae2ff4101b5a0cb8bcb1635c767026b8599824dcb69058a80abedbc292b3439d457789268b113471d42028a6ef692a0fe957bc73938a227d90665e0e4c9e6e408d11121af0290c07c46c817ee65d8fa8fa60f02284f7b4080d0e29d82b8890bb8fe33f18d619f8be1690af4a1a371a269b4bc0bf603b1b1bb7251351a40b8d267ef874000b106204080adbab7ec727bd6964d079f3a9f8dfee338baf1f5cb706061d8a108dd1e9bc9f7243813b8d8eba899697bba33cc4e846cd5ed1500509efb3a42e02c4c9095b5f00de14bcf71860aad81fbf8f62897735711a086b1c65c89eb56b04c95830e8e45b3037a5662033b11e6cf542cb80d95172ba9c52c063664f0f4d0221e4183535f493a934041b46f4e24b14fc6068e47553e50dea28e4cf0cebfb00000000000000000000000000000000000000000000000000000000"
"trustedClientState": "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000002b4ca9000000000000000000000000000000000000000000000000000000000012750000000000000000000000000000000000000000000000000000000000001baf80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000076d6f6368612d3400000000000000000000000000000000000000000000000000",
"trustedConsensusState": "0000000000000000000000000000000000000000000000000000000066fe67ee310545bbc8d0e479c43f1932a069889dcfa4339b557d66ed0c1e0d73874a27020737a627544ee53ab06349115f509d4bd5725cc361486e739231bc91ea8a4904",
"updateClientVkey": "0x00e983655058fc0461baa611927cc87955f8288c751b0d22c7ffabf18ff1c664",
"membershipVkey": "0x005029538c1c955aa2a20ff5c6ff4d998ad80df927ab1a4d5a49099c100b131a",
"ucAndMembershipVkey": "0x0023a5ccbeb5dcf75387531b19b91615393f231f111cae6c8a4ab6401ae5b180",
"misbehaviourVkey": "0x00b8dbd332adb232415f56f55eedebee82a15a9c47cf0ebf6f187da55b193681",
"proofHeight": "000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000002b4ca9",
"membershipProof": "0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000066fe67ee310545bbc8d0e479c43f1932a069889dcfa4339b557d66ed0c1e0d73874a27020737a627544ee53ab06349115f509d4bd5725cc361486e739231bc91ea8a4904005029538c1c955aa2a20ff5c6ff4d998ad80df927ab1a4d5a49099c100b131a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000020310545bbc8d0e479c43f1932a069889dcfa4339b557d66ed0c1e0d73874a2702000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000369626300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023636c69656e74732f30372d74656e6465726d696e742d302f636c69656e745374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b70a2b2f6962632e6c69676874636c69656e74732e74656e6465726d696e742e76312e436c69656e7453746174651287010a1174686574612d746573746e65742d3030311204080110031a040880840722040880c60a2a02082832003a0510b7e3c60842190a090801180120012a0100120c0a02000110211804200c300142190a090801180120012a0100120c0a02000110201801200130014a07757067726164654a10757067726164656449424353746174655001580100000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000369626300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025636c69656e74732f30372d74656e6465726d696e742d3030312f636c69656e745374617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003644aca240a2b6555a8f5171f95bee460fa44e2ff15ebe597c2aecefdb46f76283763403757229f1cdbbd3e228b663650d939d4f1fb1dce3a5cb67d6f99e684c50dea2836d02e61791009519b23e5a86ab0b97e68d31ff4d29d5aae7929727d83eca270fb610f6d97db3572c223ae998afe4347929954c62c4da05519313fc41924afe59a061cb24ac6d5e57e920e6b0a1e2ae3de71814178e67f4c0882f4c7a588e732cb0e2a7f98e78a890b99e55dfbc997eaf4e7e94125d1c879bb14ad6620ab436c010a1defa5077865bc34bcc7c5f60da64431533ab84a9f2819abb3ed533dd17db68822699c6ae472290464fa66f2ca1d3d3a110dd0cdaf38f3624a9f44a8f897cc69081e90e908de3372a3fdaa161059c06692c2a9baa130079e5d85f7bef7f1a3830b3522438312d84ea581fa45a8803247fb6c413787bbc12e8ab9d095a7c112c015d32815b1f2517dcc870aa10c9639dcb34f97a7d215a4636983826caeae55e124b7dea46148eaab0e9bc55626b68dbdc32aeaa020ce923c10242c141411385705a8162f7469df368587f51fb52df70b316f50fd0a680ebb16e18f0325044c4219da57707aa15c8d363326bf0b15e95a277013b173f177a55daed0619cc81a701d9f4c54ee787e217ab07f54859b4f82b14af0550b8941f5ac9a264d137c37572fcccfde222beb58bc298dd729f330cd8b228a531002f552c0353fa3f21315212ca1f5e1e17aa8e0d5cd488b38d71c57c039af0f59a293d71e779c707ecc92502fbe4f03c83592728c780e8c5cf553070de75bd82a6dbd3512add4fe0c97a9b50360448bfed2d737fa7134d400ceaef322efe8acd40306edd8b4c55e1be48e1f086f80770e16d7bced9af931aaf93599d6fda02c00e8c1036e7840c9554a89281de7a4852e38ed43042de00a432c670eff76c98c0d2cf7e316aced8e6a59d91600613e5cbc80440b960ea8e1a6963cbc915f9f80ac3ab6600fc5dce31e4ace72201e4ebb431eb1c7bef4e37492a3ee18098b5cad435980f78d386cb6de5d8b2d293b1d05f4e97558ae6abb92f96bc03911e95c1d2c19d14987f23e634549e7f62ac3748b49f67f0ccfee42010fd25dae5c1ae5fb78626abc2dc52581a46bd4e81b8b2306e5fca15e92c5c0db4ba4a944531f4eaf951512b0bdc73ff0029f17551806731aadd8a903a99092ff6d011242f179c03cdccecf5e3458ff2f7022065600000000000000000000000000000000000000000000000000000000"
}
Loading

0 comments on commit 0c68154

Please sign in to comment.