File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
crates/op-rbuilder/src/flashtestations Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Flashtestations is a feature that enables Trusted Execution Environment (TEE) at
51
51
To run op-rbuilder with flashtestations:
52
52
53
53
``` bash
54
- cargo run -p op-rbuilder --bin op-rbuilder --features=flashtestations -- node \
54
+ cargo run -p op-rbuilder --bin op-rbuilder -- node \
55
55
--chain /path/to/chain-config.json \
56
56
--http \
57
57
--authrpc.port 9551 \
Original file line number Diff line number Diff line change @@ -34,7 +34,11 @@ pub struct FlashtestationsArgs {
34
34
// Remote url for attestations
35
35
#[ arg(
36
36
long = "flashtestations.quote-provider" ,
37
- env = "FLASHTESTATIONS_QUOTE_PROVIDER"
37
+ env = "FLASHTESTATIONS_QUOTE_PROVIDER" ,
38
+ required_if_eq_all( [
39
+ ( "flashtestations_enabled" , "true" ) ,
40
+ ( "debug" , "false" )
41
+ ] )
38
42
) ]
39
43
pub quote_provider : Option < String > ,
40
44
Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ impl BuilderTransactions for FlashtestationsBuilderTx {
561
561
let mut builder_txs = Vec :: < BuilderTransactionCtx > :: new ( ) ;
562
562
563
563
if !self . registered . load ( Ordering :: Relaxed ) {
564
- info ! ( target: "flashtestations" , "tee service not registered yet, attempting to add registration tx " ) ;
564
+ info ! ( target: "flashtestations" , "tee service not registered yet, attempting to register " ) ;
565
565
self . set_registered ( state_provider, ctx) ;
566
566
builder_txs. extend ( self . fund_tee_service_tx ( ctx, & mut evm) ?) ;
567
567
let ( register_tx, _) = self . register_tee_service_tx ( ctx, & mut evm) ?;
You can’t perform that action at this time.
0 commit comments