diff --git a/contracts/near/eth-client/src/lib.rs b/contracts/near/eth-client/src/lib.rs index 9f08bd5f..c82dfb3f 100644 --- a/contracts/near/eth-client/src/lib.rs +++ b/contracts/near/eth-client/src/lib.rs @@ -219,7 +219,7 @@ impl EthClient { /// Add the block header to the client. /// `block_header` -- RLP-encoded Ethereum header; /// `dag_nodes` -- dag nodes with their merkle proofs. - #[pause(except(roles(Role::UnrestrictedAddBlockHeader)))] + #[pause(except(roles(Role::UnrestrictedAddBlockHeader, Role::DAO)))] #[result_serializer(borsh)] pub fn add_block_header( &mut self, diff --git a/contracts/near/eth-prover/src/lib.rs b/contracts/near/eth-prover/src/lib.rs index dc95edb1..ce513aff 100644 --- a/contracts/near/eth-prover/src/lib.rs +++ b/contracts/near/eth-prover/src/lib.rs @@ -120,7 +120,7 @@ impl EthProver { .into() } - #[pause(except(roles(Role::UnrestrictedVerifyLogEntry)))] + #[pause(except(roles(Role::UnrestrictedVerifyLogEntry, Role::DAO)))] #[result_serializer(borsh)] pub fn verify_log_entry( &self, @@ -169,7 +169,7 @@ impl EthProver { /// the StorageProof `value` field. In order to verify the proof of non /// existence, you must set `value` to empty vec, *not* the RLP encoding of 0 or null /// (which would be 0x80). - #[pause(except(roles(Role::UnrestrictedVerifyLogEntry)))] + #[pause(except(roles(Role::UnrestrictedVerifyStorageProof, Role::DAO)))] #[result_serializer(borsh)] pub fn verify_storage_proof( &self,