hirosystems / stacks-subnets

Stacks Subnets: a layer-2 scaling solution for Stacks, intended for high-throughput, low-latency workloads
http://docs.hiro.so
GNU General Public License v3.0
52 stars 13 forks source link

Add a test for withdrawing to the wrong recipient #256

Open obycode opened 1 year ago

obycode commented 1 year ago

In 3 tests in l1_observer_test.rs, there is a todo item:

// TODO: call withdraw from unauthorized principal once leaf verification is added to the subnet contract

This leaf verification is present in the contract now, so we can add these tests.