Currently the sideVM and Fat Contract lack the ability to read blockchain storage. Access control can be implemented so that only partial storage can be accessed.
One workaround is to use http request to directly fetch data through pRuntime's RPC endpoint. However, this is not very standard and could have some negative effects.
As discussed earlier, we could offer a read API to access the on-chain storage from SideVM. SideVM is a purely non deterministic env. So it should be fine.
Currently the sideVM and Fat Contract lack the ability to read blockchain storage. Access control can be implemented so that only partial storage can be accessed.
One workaround is to use http request to directly fetch data through pRuntime's RPC endpoint. However, this is not very standard and could have some negative effects.