TxContext does not have sender() information any more - returns only 00000...
Tested on 2.4.1 - on 2.3.0 that worked perfectly.
#[spacetimedb::procedure]
pub fn get_time(ctx: &mut ProcedureContext) -> Result<i64, String> {
log::info!("[{}] get_time()", ctx.sender());
ctx.try_with_tx(|tx| {
log::info!("[{}] get_time_TX()", tx.sender());
Ok(tx.timestamp.to_micros_since_unix_epoch())
})
}
[c2005ee8adbd706594ab2a4e9b1e5f8b73b2d3464c1627df096ba167e579ca6a] get_time()
[0000000000000000000000000000000000000000000000000000000000000000] get_time_TX()
TxContext does not have sender() information any more - returns only 00000...
Tested on 2.4.1 - on 2.3.0 that worked perfectly.