File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl Cheatcode for serializeBytes32_0Call {
192
192
impl Cheatcode for serializeString_0Call {
193
193
fn apply ( & self , state : & mut Cheatcodes ) -> Result {
194
194
let Self { objectKey, valueKey, value } = self ;
195
- serialize_json ( state, objectKey, Some ( valueKey) , & value. to_string ( ) )
195
+ serialize_json ( state, objectKey, Some ( valueKey) , value)
196
196
}
197
197
}
198
198
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ pub type DatabaseResult<T> = Result<T, DatabaseError>;
15
15
pub enum DatabaseError {
16
16
#[ error( "{0}" ) ]
17
17
Message ( String ) ,
18
- #[ error( "no cheats available for {0}" ) ]
18
+ #[ error( "cheatcodes are not enabled for {0}; see `vm.allowCheatcodes(address)` " ) ]
19
19
NoCheats ( Address ) ,
20
- #[ error( "failed to fetch AccountInfo {0}" ) ]
20
+ #[ error( "failed to fetch account info for {0}" ) ]
21
21
MissingAccount ( Address ) ,
22
- #[ error( "code should already be loaded: {0}" ) ]
22
+ #[ error( "missing bytecode for code hash {0}" ) ]
23
23
MissingCode ( B256 ) ,
24
24
#[ error( transparent) ]
25
25
Recv ( #[ from] RecvError ) ,
You can’t perform that action at this time.
0 commit comments