anchor.diff:                    end,
               {ok, {ok, Res}, GasUsed, State};
           {error, _} = Err ->
  -            {ok, Err, aevm_eeevm_state:gas(State), State}
  -    end.
  -
  -map_call_put(Data, State) ->
  +            {ok, Err, Gas, State}
  +    end.
  +
  +map_call_put(Gas, Data, State) ->
       [MapId]             = get_args([word], Data),
       {KeyType, ValType}  = aevm_eeevm_maps:map_type(MapId, State),
       [_, KeyPtr, ValPtr] = get_args([word, word, word], Data),
  
positive.code:             {NewMapId, State1} = aevm_eeevm_maps:delete(MapId, KeyBin, State),
              {ok, {ok, <<NewMapId:256>>}, GasUsed, State1};
          {error, _} = Err ->
              {ok, Err, aevm_eeevm_state:gas(State), State}
      end.
  
  map_call_tolist(Data, State) ->
      [MapId] = get_args([word], Data),
      {KeyType, ValType} = aevm_eeevm_maps:map_type(MapId, State),
      {ok, Map} = aevm_eeevm_maps:get_flat_map(MapId, State),
  
negative.code:                     {NewMapId, State1}  = aevm_eeevm_maps:put(MapId, KeyBin, ValBin, State),
                      {ok, {ok, <<NewMapId:256>>}, GasUsed + GasUsed1, State1};
                  {error, _} = Err ->
                      {ok, Err, Gas, State}
              end;
          {error, _} = Err ->
              {ok, Err, Gas, State}
      end.
  
  map_call_delete(Gas, Data, State) ->
      [MapId]      = get_args([word], Data),
      {KeyType, _} = aevm_eeevm_maps:map_type(MapId, State),
      [_, KeyPtr]  = get_args([word, word], Data),
  