Closed geoff-vball closed 3 weeks ago
Neither here or there, but thought it'd be worth calling out that all of the _validate
helpers could be converted to modifiers if we wanted.
I think these changes are really great for readability 🙌 Found 2 more places where I think small helpers would take it even further, but otherwise looks good to go to me.
Why this should be merged
Closes https://github.com/ava-labs/teleporter-token-bridge/issues/130
How this works
Creates helpers for processing single-hop and multi-hop functionality for both send and sendAndCall to make the code paths for each clearer.
How this was tested
Existing tests
How is this documented