Skip to content

Commit 3c3863c

Browse files
Merge pull request #1124 from QwinDivy/fix/completed-issue-security-hardening
feat(contract): secure execution and zk replay protections
2 parents 3874e2e + 82f9031 commit 3c3863c

9 files changed

Lines changed: 11191 additions & 13 deletions

File tree

contract/src/access/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub use crate::monolith::*;

contract/src/execution/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub use crate::monolith::*;

contract/src/lib.rs

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
#![no_std]
2-
#![allow(dead_code)]
3-
#![allow(deprecated)]
4-
#![allow(
5-
clippy::clone_on_copy,
6-
clippy::collapsible_if,
7-
clippy::len_zero,
8-
clippy::module_inception,
9-
clippy::needless_borrows_for_generic_args,
10-
clippy::too_many_arguments,
11-
clippy::unnecessary_cast,
12-
clippy::unnecessary_lazy_evaluations
13-
)]
1+
#![no_std]
142

3+
mod monolith;
4+
5+
pub mod access;
6+
pub mod events;
7+
pub mod execution;
8+
pub mod oracle;
9+
pub mod storage;
10+
pub mod types;
11+
pub mod vrf;
12+
pub mod yield;
13+
14+
pub use access::*;
15+
pub use events::*;
16+
pub use execution::*;
17+
pub use oracle::*;
18+
pub use storage::*;
19+
pub use types::*;
20+
pub use vrf::*;
21+
pub use yield::*;
1522
pub mod events;
1623

1724
use soroban_sdk::{

0 commit comments

Comments
 (0)