gear icon indicating copy to clipboard operation
gear copied to clipboard

Incorrect network behavior in `gtest `

Open MedovTimur opened this issue 1 year ago • 1 comments

Problem

In reality, when using the function msg::send_with_gas() where gas equal to zero and value not equal to zero is specified, the value is immediately recognized on the balance and there is no need to make claim value in Mailbox.

Currently, gtest requires system.claim_value_from_mailbox(id) before performing a balance check, which doesn't match what is actually happening.

Steps

  1. try making msg::send_with_gas() with a non-zero value and zero gas in the program;
  2. use gtest to see where the value is located.

Possible Solution

No response

Notes

No response

Relevant Log Output

Click to expand/collapse

<Paste your log here>

MedovTimur avatar Mar 19 '24 10:03 MedovTimur

@MedovTimur please re-check the issue on the latest gtest as such case is must be handled right now same as it's in runtime

techraed avatar Sep 23 '24 04:09 techraed