BitShares Forum

Main => General Discussion => Topic started by: toast on August 11, 2014, 08:51:18 pm

Title: Dry Run 13: Apollo -- Bounty Inside!
Post by: toast on August 11, 2014, 08:51:18 pm
To the moon!
https://www.youtube.com/watch?v=kgHYGw9OL7c


100 BitUSD bounty (on the real chain) if you can cause this:
https://www.youtube.com/watch?v=kAmsi05P9Uw&t=37

That is, finding a bug that causes to have to change the order matching algorithm.


You have to do a fresh checkout from source! Some build configuration stuff changed!

Code: [Select]
git clone https://github.com/BitShares/bitshares_toolkit.git
cd bitshares_toolkit
git checkout develop
git submodule init
git submodule update
cmake .
make
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: tonyk on August 11, 2014, 09:04:21 pm
The develop branch again, right?
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: toast on August 11, 2014, 09:05:17 pm
The develop branch again, right?

yes
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: toast on August 11, 2014, 09:14:43 pm
Getting the following. Might just be me but the others compiled without issue.



Code: [Select]
[ 59%] Built target bts_utilities
Scanning dependencies of target bts_api_generator
[ 60%] Building CXX object libraries/api/CMakeFiles/bts_api_generator.dir/bts_api_generator.cpp.o
make[2]: *** No rule to make target `libraries/leveldb/libleveldb.a', needed by `libraries/api/bts_api_generator'.  Stop.
make[1]: *** [libraries/api/CMakeFiles/bts_api_generator.dir/all] Error 2
make: *** [all] Error 2

Did you do a brand new fresh checkout? That's the easiest way
Other way is "rm -r libraries/leveldb && git submodule init && git submodule update"  but I'm not sure if it'll work
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: maqifrnswa on August 11, 2014, 09:20:36 pm
built ok, all the errors I reported last time appear to be fixed (unable to cancel orders, orders being completed without the wallet being updated)! thanks - I can actually test the market now  ;)
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: Riverhead on August 11, 2014, 09:21:37 pm
built ok, all the errors I reported last time appear to be fixed (unable to cancel orders, orders being completed without the wallet being updated)! thanks - I can actually test the market now  ;)


Awesome! Now I just need to figure out wtf went wrong with my dev environment :).
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: HackFisher on August 11, 2014, 09:25:36 pm
built ok, all the errors I reported last time appear to be fixed (unable to cancel orders, orders being completed without the wallet being updated)! thanks - I can actually test the market now  ;)


Awesome! Now I just need to figure out wtf went wrong with my dev environment :).

For now, you may need to go to library/level_db, and do a "make" first, because I have this problem too.
We'll figure it out later, maybe need to update the CMake file.
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: spartako on August 11, 2014, 09:27:16 pm
Getting the following. Might just be me but the others compiled without issue.



Code: [Select]
[ 59%] Built target bts_utilities
Scanning dependencies of target bts_api_generator
[ 60%] Building CXX object libraries/api/CMakeFiles/bts_api_generator.dir/bts_api_generator.cpp.o
make[2]: *** No rule to make target `libraries/leveldb/libleveldb.a', needed by `libraries/api/bts_api_generator'.  Stop.
make[1]: *** [libraries/api/CMakeFiles/bts_api_generator.dir/all] Error 2
make: *** [all] Error 2

Did you do a brand new fresh checkout? That's the easiest way
Other way is "rm -r libraries/leveldb && git submodule init && git submodule update"  but I'm not sure if it'll work

I had the same problem with fresh checkout. I solved with:
Code: [Select]
pushd libraries/leveldb/
make
popd
make
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: Riverhead on August 11, 2014, 09:33:43 pm
Thanks spartako!  That did the trick. Wonder why it happened this time and not last.  Weird.
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: sfinder on August 11, 2014, 09:33:58 pm
do i need to do "git checkout develop" like run 12?
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: bytemaster on August 11, 2014, 09:35:22 pm
do i need to do "git checkout develop" like run 12?

Yes, I updated OP
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: sfinder on August 11, 2014, 09:51:41 pm
copy paste my following code to terminal then go for coffee 
Code: [Select]
git clone https://github.com/BitShares/bitshares_toolkit
cd bitshares_toolkit
git checkout develop
git submodule init
git submodule update
cmake .
make
*
do i need to do "git checkout develop" like run 12?

Yes, I updated OP
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: bytemaster on August 11, 2014, 10:23:50 pm
Alright, who stirred the Oxygen tanks?
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: ripplexiaoshan on August 11, 2014, 10:28:03 pm
100 bitUSD...it seems the dev team is quite confident. A huge wave of testers are approaching...
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: bytemaster on August 11, 2014, 10:34:31 pm
Alright, who stirred the Oxygen tanks?

Something appears to have gone wrong with the leveldb update as we are seeing all kinds of chain issues.  Hold off your testing until we are able to course correct and get the chain back on track. 

Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: clout on August 11, 2014, 10:36:00 pm
100 bitUSD...it seems the dev team is quite confident. A huge wave of testers are approaching...

Hahaha is that sarcasm?
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: bytemaster on August 11, 2014, 10:37:48 pm
Alright, who stirred the Oxygen tanks?

Something appears to have gone wrong with the leveldb update as we are seeing all kinds of chain issues.  Hold off your testing until we are able to course correct and get the chain back on track.

https://www.youtube.com/watch?v=kAmsi05P9Uw
Title: Re: Dry Run 13: Apollo -- Bounty Inside!
Post by: toast on August 11, 2014, 10:44:08 pm
https://www.youtube.com/watch?v=Zl12dXYcUTo&t=20

watch out for dry run 14...