wormhole/solana
Reisen 1cc90e54db Deserialize only the discriminant in the entrypoint.
It would seem that Borsh, when deserializing an enum will consume a
large amount of stack space proportional to the number of discriminants.
This causes the entrypoint to trigger stack frame access violations
during the initial deserialization.

This change uses an enum represented by a u8 instead, and removes the
association between the discriminant and the data. Deserializing the
associated data is now pushed down to within the entrypoint match arms
instead.

Change-Id: I2dcb466bf7820b3344e175ad92988bb89f30cb15
2021-07-20 11:11:28 +00:00
..
bridge Deserialize only the discriminant in the entrypoint. 2021-07-20 11:11:28 +00:00
modules/token_bridge Deserialize only the discriminant in the entrypoint. 2021-07-20 11:11:28 +00:00
solitaire Deserialize only the discriminant in the entrypoint. 2021-07-20 11:11:28 +00:00
.dockerignore Fix bridge fee and implement CLI 2021-06-23 15:10:06 +00:00
Dockerfile Implement optional persistence in Solana wormhole 2021-07-05 18:02:04 +00:00
devnet_setup.sh Align behaviour of persistent message fees 2021-07-05 18:02:04 +00:00
id.json Solana devnet fixtures and lockup generator 2020-08-21 20:48:58 +02:00
lockups.sh Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 2021-01-23 18:20:17 +01:00