/ test / contracts / bytes_remote.aes
bytes_remote.aes
 1  contract interface BytesRemote =
 2    entrypoint identity : (bytes(4)) => bytes(4)
 3  
 4  contract BytesX =
 5    entrypoint remote(br : BytesRemote) : bool =
 6      let b = #12345678
 7      b == br.identity(b)
 8  
 9    entrypoint identity(b : bytes(4)) = b
10