File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ pub fn print64(value: u64) {
2222 unsafe { native:: debug_print64 ( value) }
2323}
2424
25- pub fn printMem ( slice : & [ u8 ] ) {
25+ pub fn print_mem ( slice : & [ u8 ] ) {
2626 unsafe { native:: debug_printMem ( slice. as_ptr ( ) as * const u32 , slice. len ( ) as u32 ) }
2727}
2828
29- pub fn printMemHex ( slice : & [ u8 ] ) {
30- unsafe { native:: debug_printMem ( slice. as_ptr ( ) as * const u32 , slice. len ( ) as u32 ) }
29+ pub fn print_mem_hex ( slice : & [ u8 ] ) {
30+ unsafe { native:: debug_printMemHex ( slice. as_ptr ( ) as * const u32 , slice. len ( ) as u32 ) }
3131}
3232
33- pub fn printStorage ( key : & StorageKey ) {
33+ pub fn print_storage ( key : & StorageKey ) {
3434 unsafe { native:: debug_printStorage ( key. bytes . as_ptr ( ) as * const u32 ) }
3535}
3636
37- pub fn printStorageHex ( key : & StorageKey ) {
37+ pub fn print_storage_hex ( key : & StorageKey ) {
3838 unsafe { native:: debug_printStorageHex ( key. bytes . as_ptr ( ) as * const u32 ) }
3939}
Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ pub fn returndata_size() -> usize {
539539
540540/// Halts execution, reverts all changes to the state and consumes all gas.
541541pub fn abort ( ) -> ! {
542- /// TODO: use assembly block with `unreachable`
542+ // TODO: use assembly block with `unreachable`
543543 panic ! ( )
544544}
545545
You can’t perform that action at this time.
0 commit comments