File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ where
167167
168168 /// Returns true if the corresponding contract uses a zero amount of storage.
169169 pub fn has_trivial_storage ( & mut self , application : ApplicationId ) -> bool {
170- base_wit :: has_trivial_storage ( application. into ( ) )
170+ contract_wit :: has_trivial_storage ( application. into ( ) )
171171 }
172172}
173173
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ interface base-runtime-api {
1616 assert-before : func (timestamp : timestamp );
1717 read-data-blob : func (hash : data-blob-hash ) -> list <u8 >;
1818 assert-data-blob-exists : func (hash : data-blob-hash );
19- has-trivial-storage : func (application : application-id ) -> bool ;
2019 log : func (message : string , level : log-level );
2120 contains-key-new : func (key : list <u8 >) -> u32 ;
2221 contains-key-wait : func (promise-id : u32 ) -> bool ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ interface contract-runtime-api {
2323 consume-fuel : func (fuel : u64 );
2424 validation-round : func () -> option <u32 >;
2525 write-batch : func (operations : list <write-operation >);
26+ has-trivial-storage : func (application : application-id ) -> bool ;
2627
2728 record account {
2829 chain-id : chain-id ,
You can’t perform that action at this time.
0 commit comments