Допис
Діліться своїми знаннями.
tomek180
Jan 18, 2025
Питання та відповіді експертів
How to fix the error: MoveAbort in command 0?
I encountered an error when running a transaction, and the error message was 'Transaction failed with the following error. Dry run failed, could not automatically determine a budget: MoveAbort'. The error seems to originate in the 'option.move' module, specifically in the 'extract' function. It says 'Aborts if t does not hold a value'. What could be causing this and how can I fix it?
- Move CLI
- Move Bug
1
1
Поділитися
Коментарі
Відповіді
1Britain92
Jan 18 2025, 10:43extract
Помилка виникає через те, що option.move
функція в t.is_some()
модулі переривається, коли твердження не вдається. Це означає, що оп t
ція, як очікується, містить значення, але це не має на момент виклику цієї функції. Переконайтеся, що опція встановлена на «деякі» перед викликомextract
.
1
Найкраща відповідь
Коментарі
Ви знаєте відповідь?
Будь ласка, увійдіть та поділіться нею.