diff --git a/rust/Cargo.toml b/rust/Cargo.toml index c798f082d8..089b94943f 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -146,6 +146,73 @@ walkdir = "2" warp = "0.3" which = "4.3" +[profile.release.package.access-control] +overflow-checks = true + +[profile.release.package.account-utils] +overflow-checks = true + +[profile.release.package.ecdsa-signature] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-connection-client] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-token-lib] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-interchain-security-module-interface] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-message-recipient-interface] +overflow-checks = true + +[profile.release.package.multisig-ism] +overflow-checks = true + +[profile.release.package.serializable-account-meta] +overflow-checks = true + +[profile.release.package.hyperlane-test-transaction-utils] +overflow-checks = true + +[profile.release.package.hyperlane-test-utils] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-mailbox] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-igp] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-igp-test] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-token] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-token-collateral] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-token-native] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-multisig-ism-message-id] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-test-ism] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-mailbox-test] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-test-send-receiver] +overflow-checks = true + +[profile.release.package.hyperlane-sealevel-validator-announce] +overflow-checks = true + + [workspace.dependencies.ethers] git = "https://github.com/hyperlane-xyz/ethers-rs" features = [] diff --git a/rust/sealevel/libraries/access-control/Cargo.toml b/rust/sealevel/libraries/access-control/Cargo.toml index 516ea54202..964624bf58 100644 --- a/rust/sealevel/libraries/access-control/Cargo.toml +++ b/rust/sealevel/libraries/access-control/Cargo.toml @@ -12,6 +12,3 @@ solana-program.workspace = true [lib] crate-type = ["cdylib", "lib"] - -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/account-utils/Cargo.toml b/rust/sealevel/libraries/account-utils/Cargo.toml index 03446005f9..c74f43ad32 100644 --- a/rust/sealevel/libraries/account-utils/Cargo.toml +++ b/rust/sealevel/libraries/account-utils/Cargo.toml @@ -14,6 +14,3 @@ spl-type-length-value.workspace = true [lib] crate-type = ["cdylib", "lib"] - -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/ecdsa-signature/Cargo.toml b/rust/sealevel/libraries/ecdsa-signature/Cargo.toml index ddb511b400..7a5f78d236 100644 --- a/rust/sealevel/libraries/ecdsa-signature/Cargo.toml +++ b/rust/sealevel/libraries/ecdsa-signature/Cargo.toml @@ -16,6 +16,3 @@ getrandom = { workspace = true, features = ["custom"] } [lib] crate-type = ["cdylib", "lib"] - -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/hyperlane-sealevel-connection-client/Cargo.toml b/rust/sealevel/libraries/hyperlane-sealevel-connection-client/Cargo.toml index 8772c3f241..0a8cc148ae 100644 --- a/rust/sealevel/libraries/hyperlane-sealevel-connection-client/Cargo.toml +++ b/rust/sealevel/libraries/hyperlane-sealevel-connection-client/Cargo.toml @@ -18,6 +18,3 @@ hyperlane-sealevel-igp = { path = "../../programs/hyperlane-sealevel-igp", featu [lib] crate-type = ["cdylib", "lib"] - -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/hyperlane-sealevel-token/Cargo.toml b/rust/sealevel/libraries/hyperlane-sealevel-token/Cargo.toml index 41db4d57a8..d7e6c12b08 100644 --- a/rust/sealevel/libraries/hyperlane-sealevel-token/Cargo.toml +++ b/rust/sealevel/libraries/hyperlane-sealevel-token/Cargo.toml @@ -30,5 +30,3 @@ serializable-account-meta = { path = "../serializable-account-meta" } [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/interchain-security-module-interface/Cargo.toml b/rust/sealevel/libraries/interchain-security-module-interface/Cargo.toml index 56d5a9a600..7b215d63c6 100644 --- a/rust/sealevel/libraries/interchain-security-module-interface/Cargo.toml +++ b/rust/sealevel/libraries/interchain-security-module-interface/Cargo.toml @@ -13,5 +13,3 @@ spl-type-length-value.workspace = true [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/message-recipient-interface/Cargo.toml b/rust/sealevel/libraries/message-recipient-interface/Cargo.toml index 1cdec684d8..eb38bc7021 100644 --- a/rust/sealevel/libraries/message-recipient-interface/Cargo.toml +++ b/rust/sealevel/libraries/message-recipient-interface/Cargo.toml @@ -18,5 +18,3 @@ getrandom = { workspace = true, features = ["custom"] } [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/multisig-ism/Cargo.toml b/rust/sealevel/libraries/multisig-ism/Cargo.toml index 0d60d6b893..1116acbbdd 100644 --- a/rust/sealevel/libraries/multisig-ism/Cargo.toml +++ b/rust/sealevel/libraries/multisig-ism/Cargo.toml @@ -24,5 +24,3 @@ hex.workspace = true [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/serializable-account-meta/Cargo.toml b/rust/sealevel/libraries/serializable-account-meta/Cargo.toml index f1657b4071..6762a952ee 100644 --- a/rust/sealevel/libraries/serializable-account-meta/Cargo.toml +++ b/rust/sealevel/libraries/serializable-account-meta/Cargo.toml @@ -12,5 +12,3 @@ solana-program.workspace = true [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/test-transaction-utils/Cargo.toml b/rust/sealevel/libraries/test-transaction-utils/Cargo.toml index ac819fda96..2f9cc56342 100644 --- a/rust/sealevel/libraries/test-transaction-utils/Cargo.toml +++ b/rust/sealevel/libraries/test-transaction-utils/Cargo.toml @@ -13,5 +13,3 @@ solana-sdk.workspace = true [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/libraries/test-utils/Cargo.toml b/rust/sealevel/libraries/test-utils/Cargo.toml index bec4e6d943..3654a1327c 100644 --- a/rust/sealevel/libraries/test-utils/Cargo.toml +++ b/rust/sealevel/libraries/test-utils/Cargo.toml @@ -25,5 +25,3 @@ serializable-account-meta = { path = "../serializable-account-meta" } [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/hyperlane-sealevel-igp-test/Cargo.toml b/rust/sealevel/programs/hyperlane-sealevel-igp-test/Cargo.toml index 80e49ec4dc..bbc603f9e1 100644 --- a/rust/sealevel/programs/hyperlane-sealevel-igp-test/Cargo.toml +++ b/rust/sealevel/programs/hyperlane-sealevel-igp-test/Cargo.toml @@ -18,5 +18,3 @@ solana-program-test.workspace = true solana-sdk.workspace = true hyperlane-test-utils = { path = "../../libraries/test-utils" } -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/hyperlane-sealevel-igp/Cargo.toml b/rust/sealevel/programs/hyperlane-sealevel-igp/Cargo.toml index 442ada46ea..b0356f1872 100644 --- a/rust/sealevel/programs/hyperlane-sealevel-igp/Cargo.toml +++ b/rust/sealevel/programs/hyperlane-sealevel-igp/Cargo.toml @@ -28,5 +28,3 @@ serde = { workspace = true, optional = true } [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/hyperlane-sealevel-token-collateral/Cargo.toml b/rust/sealevel/programs/hyperlane-sealevel-token-collateral/Cargo.toml index bfef40811f..d6378080bc 100644 --- a/rust/sealevel/programs/hyperlane-sealevel-token-collateral/Cargo.toml +++ b/rust/sealevel/programs/hyperlane-sealevel-token-collateral/Cargo.toml @@ -38,5 +38,3 @@ hyperlane-sealevel-test-ism = { path = "../ism/test-ism", features = ["no-entryp [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/hyperlane-sealevel-token-native/Cargo.toml b/rust/sealevel/programs/hyperlane-sealevel-token-native/Cargo.toml index 5db9317646..25f4777c95 100644 --- a/rust/sealevel/programs/hyperlane-sealevel-token-native/Cargo.toml +++ b/rust/sealevel/programs/hyperlane-sealevel-token-native/Cargo.toml @@ -38,5 +38,3 @@ tarpc = "~0.29" [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/hyperlane-sealevel-token/Cargo.toml b/rust/sealevel/programs/hyperlane-sealevel-token/Cargo.toml index ab33980ed1..5ddd28ed03 100644 --- a/rust/sealevel/programs/hyperlane-sealevel-token/Cargo.toml +++ b/rust/sealevel/programs/hyperlane-sealevel-token/Cargo.toml @@ -38,5 +38,3 @@ hyperlane-sealevel-test-ism = { path = "../ism/test-ism", features = ["no-entryp [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/ism/multisig-ism-message-id/Cargo.toml b/rust/sealevel/programs/ism/multisig-ism-message-id/Cargo.toml index 8a35c3b96f..99e01fe175 100644 --- a/rust/sealevel/programs/ism/multisig-ism-message-id/Cargo.toml +++ b/rust/sealevel/programs/ism/multisig-ism-message-id/Cargo.toml @@ -35,5 +35,3 @@ multisig-ism = { path = "../../../libraries/multisig-ism", features = ["test-dat [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/ism/test-ism/Cargo.toml b/rust/sealevel/programs/ism/test-ism/Cargo.toml index fe0c83f64a..69fe299cbb 100644 --- a/rust/sealevel/programs/ism/test-ism/Cargo.toml +++ b/rust/sealevel/programs/ism/test-ism/Cargo.toml @@ -25,5 +25,3 @@ hyperlane-test-transaction-utils = { path = "../../../libraries/test-transaction [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/mailbox-test/Cargo.toml b/rust/sealevel/programs/mailbox-test/Cargo.toml index f88118df6c..a166b6c68a 100644 --- a/rust/sealevel/programs/mailbox-test/Cargo.toml +++ b/rust/sealevel/programs/mailbox-test/Cargo.toml @@ -35,5 +35,3 @@ serializable-account-meta = { path = "../../libraries/serializable-account-meta" [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/mailbox/Cargo.toml b/rust/sealevel/programs/mailbox/Cargo.toml index 179891f422..495e8c05b9 100644 --- a/rust/sealevel/programs/mailbox/Cargo.toml +++ b/rust/sealevel/programs/mailbox/Cargo.toml @@ -38,5 +38,3 @@ log.workspace = true [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/test-send-receiver/Cargo.toml b/rust/sealevel/programs/test-send-receiver/Cargo.toml index 61cd5fc229..9bfcb3015b 100644 --- a/rust/sealevel/programs/test-send-receiver/Cargo.toml +++ b/rust/sealevel/programs/test-send-receiver/Cargo.toml @@ -25,5 +25,3 @@ serializable-account-meta = { path = "../../libraries/serializable-account-meta" [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true diff --git a/rust/sealevel/programs/validator-announce/Cargo.toml b/rust/sealevel/programs/validator-announce/Cargo.toml index 9720a05d43..50bea99e63 100644 --- a/rust/sealevel/programs/validator-announce/Cargo.toml +++ b/rust/sealevel/programs/validator-announce/Cargo.toml @@ -28,5 +28,3 @@ hyperlane-test-utils ={ path = "../../libraries/test-utils" } [lib] crate-type = ["cdylib", "lib"] -[profile.release] -overflow-checks = true